Skip to content

Fix shutdown of test server#1560

Merged
juergbi merged 2 commits into
masterfrom
juerg/tests-casd-server-shutdown
Jan 14, 2022
Merged

Fix shutdown of test server#1560
juergbi merged 2 commits into
masterfrom
juerg/tests-casd-server-shutdown

Conversation

@juergbi
Copy link
Copy Markdown
Contributor

@juergbi juergbi commented Jan 13, 2022

buildbox-casd processes used by test servers were not terminated and kept running after the end of the tests (or crashed because the test deleted the directories used by buildbox-casd).

Copy link
Copy Markdown
Contributor

@BenjaminSchubert BenjaminSchubert left a comment

Choose a reason for hiding this comment

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

Seems good, thanks

Comment thread tests/testutils/artifactshare.py
This is required to pass the assertion in `CASDChannel.close()`:

    assert self._shutdown_requested, "Please request shutdown before closing"
buildbox-casd processes used by test servers were not terminated and
kept running after the end of the tests (or crashed because the test
deleted the directories used by buildbox-casd).
@juergbi juergbi force-pushed the juerg/tests-casd-server-shutdown branch from 81621f6 to 3a3413d Compare January 14, 2022 10:28
@juergbi juergbi merged commit baa0889 into master Jan 14, 2022
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