Skip to content

[Hexagon] Make pytest use a random port if not running in CI#13244

Merged
masahi merged 1 commit intoapache:mainfrom
nverke:pytest_random_port
Nov 1, 2022
Merged

[Hexagon] Make pytest use a random port if not running in CI#13244
masahi merged 1 commit intoapache:mainfrom
nverke:pytest_random_port

Conversation

@nverke
Copy link
Contributor

@nverke nverke commented Oct 31, 2022

This makes it so that when running tests locally you are able to get a random port. This is needed because the ports take a bit of time to free before they can be used again so repeated tests started to fail.

cc @masahi @mehrdadh

@tvm-bot
Copy link
Collaborator

tvm-bot commented Oct 31, 2022

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@nverke nverke changed the title [Hexagon] Make pytest use a random port if not running in CI. [Hexagon] Make pytest use a random port if not running in CI Oct 31, 2022
@nverke
Copy link
Contributor Author

nverke commented Oct 31, 2022

@tvm-bot rerun

@github-actions github-actions bot requested review from masahi and mehrdadh October 31, 2022 19:32
@masahi
Copy link
Member

masahi commented Oct 31, 2022

@tvm-bot rerun

@masahi masahi merged commit 3259580 into apache:main Nov 1, 2022
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 10, 2022
…13244)

[Hexagon] Make pytest use a random port if not running in CI.
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
…13244)

[Hexagon] Make pytest use a random port if not running in CI.
@nverke nverke deleted the pytest_random_port branch January 13, 2023 23: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.

3 participants