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(tests): relay tests use random port to avoid conflict #1998

Merged
merged 1 commit into from
Sep 7, 2023
Merged

Conversation

SionoiS
Copy link
Contributor

@SionoiS SionoiS commented Sep 6, 2023

Description

I've looked at all the tests to see if Port() had any conflicts and fixed what I could.

If we still have conflicts, in the future, adding a randomPort() could do the trick.

Changes

  • waku_relay tests now use Port(0) instead of hardcoded ports.
  • test_rest_store now use port 58011-58016 instead of the same port.

Closes #1826

@github-actions
Copy link

github-actions bot commented Sep 6, 2023

You can find the experimental image built from this PR at

quay.io/wakuorg/nwaku-pr:1998-experimental

@github-actions
Copy link

github-actions bot commented Sep 6, 2023

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:1998

Copy link
Contributor

@jm-clius jm-clius left a comment

Choose a reason for hiding this comment

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

Thanks

Copy link
Contributor

@NagyZoltanPeter NagyZoltanPeter left a comment

Choose a reason for hiding this comment

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

LGTM.

@SionoiS SionoiS merged commit b991682 into master Sep 7, 2023
20 checks passed
@SionoiS SionoiS deleted the test_fix branch September 7, 2023 11:41
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.

bug: Inconsistent testing
6 participants