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

tests/lib/fakestore/store: do not hardcode port in fakestore unit tests #13946

Merged

Conversation

bboozzoo
Copy link
Collaborator

@bboozzoo bboozzoo commented May 6, 2024

The unit tests hardcode the port number, which occasionally seems to be occupied by something else when running the whole test suite on GH (most likely tests from another package). Have the port number be selected by the kernel.

Thanks for helping us make a better snapd!
Have you signed the license agreement and read the contribution guide?

@bboozzoo bboozzoo added the Simple 😃 A small PR which can be reviewed quickly label May 6, 2024
@bboozzoo bboozzoo requested review from zyga and MiguelPires May 6, 2024 10:02
Copy link
Collaborator

@zyga zyga left a comment

Choose a reason for hiding this comment

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

Nice :)

@bboozzoo bboozzoo force-pushed the bboozzoo/fakestore-addr-in-use branch from cc4f762 to 96da2e9 Compare May 6, 2024 14:24
Copy link
Collaborator

@sergiocazzolato sergiocazzolato left a comment

Choose a reason for hiding this comment

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

thanks

The unit tests hardcode the port number, which occasionally seems to be occupied
by something else when running the whole test suite on GH (most likely tests
from another package). Have the port number be selected by the kernel.

Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>
@bboozzoo bboozzoo force-pushed the bboozzoo/fakestore-addr-in-use branch from 96da2e9 to 212616c Compare May 10, 2024 11:45
@MiguelPires MiguelPires merged commit 586776d into snapcore:master May 17, 2024
46 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Simple 😃 A small PR which can be reviewed quickly
Projects
None yet
5 participants