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

[NET-9084] - change peering fetch test to assert blocking query behavior. #1924

Merged
merged 3 commits into from
May 7, 2024

Conversation

jmurret
Copy link
Contributor

@jmurret jmurret commented May 6, 2024

changed the TestListPeeringsQuery_Fetch test so that it also:

  • creates a blocking query
  • creates a new peer
  • asserts that the blocking query detects the new peer.

@jmurret jmurret requested a review from lkysow May 6, 2024 17:27
@jmurret jmurret changed the title change peering fetch test to assert blocking query behavior. [NET-9084] - change peering fetch test to assert blocking query behavior. May 6, 2024
// create another peer
err = testClients.createConsulPeerings(tenancy)
require.NoError(t, err)
time.Sleep(200 * time.Millisecond)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you need this if you're already waiting for 1 minute in the test?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty. removed it. it was some copy pasta.

@jmurret jmurret merged commit 68d5b4f into main May 7, 2024
54 checks passed
@jmurret jmurret deleted the jm/NET-9084 branch May 7, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants