* Chore(filter v2) test updates (#811)
* test: Test incorrect protocol identifiers
* fix: return errors in FilterSubscribeOption
* test: Test incorrect push identifier added
- test incorrect subscribe identifier separated
* test: Test Ping failure after unsubscription
* test: Test PubSub with single content topic
* test: Simplify test PubSub with single content topic
* test: Test with single pubsub and multiple content topics
* test: Test with multiple PubSub and multiple contentTopic
* test: Test with multiple overlaping contentTopics
- test contentTopics limit
* test: refactor tests to fix concurrent run errors
* test: Test subscription refresh
* test: Test error handling for subscribe
* test: Test subscription to multiple full nodes
* update test to fix#804
* Update waku/v2/protocol/filter/filter_test.go
Combine log messages
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
Delete commented - temporary code
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
fmt.Sprintf instead of "+" suffix => more performance and beauty
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
Adjust comment with code
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
Combine multiple related log entries into one.
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
Align comment with the code
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
Use fmt.Sprintf() instead of "+" for more beauty and speed
Co-authored-by: richΛrd <info@richardramos.me>
* test: refactor tests with prepareData()
* test: Test incorrect protocol identifiers
* chore: rebase onto latest master
* test: Test incorrect push identifier added
- test incorrect subscribe identifier separated
* test: Test Ping failure after unsubscription
* test: Test PubSub with single content topic
* test: Simplify test PubSub with single content topic
* test: Test with single pubsub and multiple content topics
* test: Test with multiple PubSub and multiple contentTopic
* test: Test with multiple overlaping contentTopics
- test contentTopics limit
* test: refactor tests to fix concurrent run errors
* test: Test subscription refresh
* test: Test error handling for subscribe
* test: Test subscription to multiple full nodes
* update test to fix#804
* Update waku/v2/protocol/filter/filter_test.go
Combine log messages
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
Delete commented - temporary code
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
fmt.Sprintf instead of "+" suffix => more performance and beauty
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
Adjust comment with code
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
Combine multiple related log entries into one.
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
Align comment with the code
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
Use fmt.Sprintf() instead of "+" for more beauty and speed
Co-authored-by: richΛrd <info@richardramos.me>
* test: refactor tests with prepareData()
* test: Test incorrect protocol identifiers
* fix: return errors in FilterSubscribeOption
* test: Test incorrect push identifier added
- test incorrect subscribe identifier separated
* test: Test Ping failure after unsubscription
* test: Test PubSub with single content topic
* test: Simplify test PubSub with single content topic
* test: Test with single pubsub and multiple content topics
* test: Test with multiple PubSub and multiple contentTopic
* test: Test with multiple overlaping contentTopics
- test contentTopics limit
* test: refactor tests to fix concurrent run errors
* test: Test subscription refresh
* test: Test error handling for subscribe
* test: Test subscription to multiple full nodes
* update test to fix#804
* Update waku/v2/protocol/filter/filter_test.go
Combine log messages
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
Delete commented - temporary code
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
fmt.Sprintf instead of "+" suffix => more performance and beauty
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
Adjust comment with code
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
Combine multiple related log entries into one.
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
Align comment with the code
Co-authored-by: richΛrd <info@richardramos.me>
* Update waku/v2/protocol/filter/filter_test.go
Use fmt.Sprintf() instead of "+" for more beauty and speed
Co-authored-by: richΛrd <info@richardramos.me>
* test: refactor tests with prepareData()
* Fix error during rebase
* Sync filter tests with latest master
* Refactor context initialization for test
* test: Incorrect Subscribe Identifier refactored with custom subscribe
* test: refactor into multiple files
* test: Subscribe with multiple light nodes to one full node
* test: shared mode for full node creation
- test preview Subscribe fullNode to fullNode
* test: test Subscribe fullNode to fullNode
---------
Co-authored-by: Richard Ramos <info@richardramos.me>
Co-authored-by: Prem Chaitanya Prathi <chaitanyaprem@gmail.com>
* test: unsubscribe with single contentTopic
* test: extend test - unsubscribe with single contentTopic
* test: unsubscribe with multiple contentTopic
* test: unsubscribe with multiple pubSub/contentTopic
* test: refactor back to use waitForTimeout()
* test: unsubscribe error handling
---------
Co-authored-by: Richard Ramos <info@richardramos.me>
Co-authored-by: Prem Chaitanya Prathi <chaitanyaprem@gmail.com>
* fix: modify store test to not depend on order of msgs
Co-authored-by: richΛrd <info@richardramos.me>
---------
Co-authored-by: richΛrd <info@richardramos.me>
* fix: using relay without bcaster should consume and drop messages
* update relay api usage
* move subscription to broadcaster
* move filter logic under subscription
* Support more than 1 relay subscription for a pubSubTopic
* modify relay Publish API to derive pubSubTopic based on autosharding
* implement relay RPC methods for autosharding
* remove relay msgChannel and relay on pubsub buffersize for subscription
Co-authored-by: richΛrd <info@richardramos.me>
* handle relay subscribe with noConsumer and address issue reported in code review
* chore: reorg relay code
---------
Co-authored-by: richΛrd <info@richardramos.me>