Skip to content

Fix flake TestIngressConnCount#3799

Merged
StephenButtolph merged 1 commit intoava-labs:masterfrom
yacovm:flake
Mar 13, 2025
Merged

Fix flake TestIngressConnCount#3799
StephenButtolph merged 1 commit intoava-labs:masterfrom
yacovm:flake

Conversation

@yacovm
Copy link
Copy Markdown
Contributor

@yacovm yacovm commented Mar 13, 2025

Why this should be merged

The test spawns three instances of test network one after the other. In an overwhelming number of cases, they connect to each other according to their order of creation.

However, in some rare cases, they connect to each other out of order.

I made the test use set semantics instead of list semantics in order to not rely on their order of creation.

How this works

Unit test flake fix

How this was tested

Hopefully it won't flake in CI anymore

Need to be documented in RELEASES.md?

No.

Comment thread network/network_test.go Outdated
The test spawns three instances of test network one after the other.
In an overwhelming number of cases, they connect to each other according to their order of creation.

However, in some rare cases, they connect to each other out of order.

I made the test use set semantics instead of list semantics in order to not rely on their order
of creation.

Signed-off-by: Yacov Manevich <[email protected]>
@StephenButtolph StephenButtolph added this pull request to the merge queue Mar 13, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 13, 2025
@StephenButtolph StephenButtolph added this pull request to the merge queue Mar 13, 2025
Merged via the queue into ava-labs:master with commit 618a6f8 Mar 13, 2025
23 checks passed
cam-schultz pushed a commit that referenced this pull request Mar 24, 2025
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.

flake: network/network_test.go:TestIngressConnCount flakes on macos runner

3 participants