Skip to content

Shutdown tests: update backing sleep command to 10#10077

Merged
bneradt merged 1 commit intoapache:masterfrom
bneradt:fix_watch_sleep_commands
Jul 24, 2023
Merged

Shutdown tests: update backing sleep command to 10#10077
bneradt merged 1 commit intoapache:masterfrom
bneradt:fix_watch_sleep_commands

Conversation

@bneradt
Copy link
Contributor

@bneradt bneradt commented Jul 23, 2023

The Ready conditions for some await processes waited upon the existence of a log entry before continuing. This works fine, but the process behind some of them was a 1 second sleep. If the sleep finished before the file existed, which should be rare for these tests but possible, the test would fail because the process finished before the process was "ready". This updates the backing sleep commands to 10 second sleeps which should afford plenty of time for the watch processes to see their file content. This may make these tests more reliable in CI.

The Ready conditions for some await processes waited upon the existence
of a log entry before continuing. This works fine, but the process
behind some of them was a 1 second sleep. If the sleep finished before
the file existed, which should be rare for these tests but possible, the
test would fail because the process finished before the process was
"ready". This updates the backing sleep commands to 10 second sleeps
which should afford plenty of time for the watch processes to see their
file content. This may make these tests more reliable in CI.
@bneradt bneradt added the AuTest label Jul 23, 2023
@bneradt bneradt added this to the 10.0.0 milestone Jul 23, 2023
@bneradt bneradt self-assigned this Jul 23, 2023
@bneradt bneradt merged commit 3003c27 into apache:master Jul 24, 2023
@bneradt bneradt deleted the fix_watch_sleep_commands branch July 24, 2023 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants