Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add test utils string generators #879

Merged
merged 12 commits into from
Nov 10, 2023
Merged

Commits on Oct 28, 2023

  1. 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>
    3 people committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    34b25ff View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Configuration menu
    Copy the full SHA
    f6fc52b View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Configuration menu
    Copy the full SHA
    7e7a6e7 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Configuration menu
    Copy the full SHA
    c002902 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Configuration menu
    Copy the full SHA
    bc78270 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f2bdd69 View commit details
    Browse the repository at this point in the history
  3. fix CodeQL findings

    romanzac committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    905e62d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4a3e49e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    22d7352 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Configuration menu
    Copy the full SHA
    c816067 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    665f92a View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Configuration menu
    Copy the full SHA
    cc270a4 View commit details
    Browse the repository at this point in the history