Skip to content

test/system: Rework check if toolbox started successfully - #594

Merged
martymichal merged 1 commit into
containers:masterfrom
martymichal:fix-race-in-system-tests
Oct 24, 2020
Merged

martymichal merged 1 commit into
containers:masterfrom
martymichal:fix-race-in-system-tests

Conversation

@martymichal

Copy link
Copy Markdown
Member

When I added the test that looked at the logs of a toolbox, I did not
realize that the startup of a toolbox takes some time. That caused the
CI to flake even more than usual.

The solution I used was inspired by a helper function in Podman's test
suite (WaitContainerReady()).

@martymichal martymichal added 3. Bugfix Fixes a bug 2. CI Automation of testing, analysis and other actions labels Oct 24, 2020
martymichal added a commit to martymichal/toolbox that referenced this pull request Oct 24, 2020
When I added the test that looked at the logs of a toolbox, I did not
realize that the startup of a toolbox takes some time. That caused the
CI to flake even more than usual.

The solution I used was inspired by a helper function in Podman's test
suite (WaitContainerReady()).

containers#594
@martymichal
martymichal force-pushed the fix-race-in-system-tests branch from 5b6c9a9 to 13503b1 Compare October 24, 2020 13:17
@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed.

martymichal added a commit to martymichal/toolbox that referenced this pull request Oct 24, 2020
When I added the test that looked at the logs of a toolbox, I did not
realize that the startup of a toolbox takes some time. That caused the
CI to flake even more than usual.

The solution I used was inspired by a helper function in Podman's test
suite (WaitContainerReady()).

containers#594
@martymichal
martymichal force-pushed the fix-race-in-system-tests branch from 13503b1 to 55facab Compare October 24, 2020 13:26
@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed.

martymichal added a commit to martymichal/toolbox that referenced this pull request Oct 24, 2020
When I added the test that looked at the logs of a toolbox, I did not
realize that the startup of a toolbox takes some time. That caused the
CI to flake even more than usual.

The solution I used was inspired by a helper function in Podman's test
suite (WaitContainerReady()).

containers#594
@martymichal
martymichal force-pushed the fix-race-in-system-tests branch from 55facab to 2b3f917 Compare October 24, 2020 13:35
martymichal added a commit to martymichal/toolbox that referenced this pull request Oct 24, 2020
When I added the test that looked at the logs of a toolbox, I did not
realize that the startup of a toolbox takes some time. That caused the
CI to flake even more than usual.

The solution I used was inspired by a helper function in Podman's test
suite (WaitContainerReady()).

containers#594
@martymichal
martymichal force-pushed the fix-race-in-system-tests branch from 2b3f917 to 8819b56 Compare October 24, 2020 13:40
@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed.

When I added the test that looked at the logs of a toolbox, I did not
realize that the startup of a toolbox takes some time. That caused the
CI to flake even more than usual.

The solution I used was inspired by a helper function in Podman's test
suite (WaitContainerReady()).

containers#594
@martymichal
martymichal force-pushed the fix-race-in-system-tests branch from 8819b56 to aef9550 Compare October 24, 2020 13:54
@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed.

@martymichal

Copy link
Copy Markdown
Member Author

/recheck

@martymichal

Copy link
Copy Markdown
Member Author

recheck

@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed.

@martymichal
martymichal merged commit 083aec9 into containers:master Oct 24, 2020
@martymichal
martymichal deleted the fix-race-in-system-tests branch October 24, 2020 15:32
@debarshiray

Copy link
Copy Markdown
Member

Thanks for the quick fix, @HarryMichal -- much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. CI Automation of testing, analysis and other actions 3. Bugfix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants