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

Fix unstable parallel tests #202

Merged
merged 18 commits into from
Jan 25, 2022
Merged

Fix unstable parallel tests #202

merged 18 commits into from
Jan 25, 2022

Conversation

mlsmaycon
Copy link
Collaborator

@mlsmaycon mlsmaycon commented Jan 24, 2022

  • use the dynamically assigned port for iface tests
    • as we test iface functionality, this should be ok but is not a usual scenario, also, multiple interfaces are not the usual scenario either
  • close Management client grpc connections when closing the engine
  • with closing client grpc, we can use graceful-stop for management when testing, this should avoid async writes when no client is connected
  • re-enabled ci/cd runs on PRs as when a PR comes from a Fork repo, we lose visibility on tests.

@mlsmaycon mlsmaycon marked this pull request as ready for review January 24, 2022 23:48
@mlsmaycon mlsmaycon requested a review from braginini January 24, 2022 23:54
@mlsmaycon mlsmaycon merged commit 0739038 into main Jan 25, 2022
@mlsmaycon mlsmaycon deleted the review-parallel-tests branch January 25, 2022 08:40
pulsastrix pushed a commit to pulsastrix/netbird that referenced this pull request Dec 24, 2023
* update interface tests and configuration messages

* little debug

* little debug on both errors

* print all devs

* list of devices

* debug func

* handle interface close

* debug socks

* debug socks

* if ports match

* use random assigned ports

* remove unused const

* close management client connection when stopping engine

* GracefulStop when management clients are closed

* enable workflows on PRs too

* remove iface_test debug code
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.

2 participants