Skip to content

remap_reload AuTest: await config reload messages - #8872

Merged
bneradt merged 1 commit into
apache:masterfrom
bneradt:make_remap_reload_more_stable
May 31, 2022
Merged

bneradt merged 1 commit into
apache:masterfrom
bneradt:make_remap_reload_more_stable

Conversation

@bneradt

@bneradt bneradt commented May 27, 2022

Copy link
Copy Markdown
Contributor

Change the remap_reload AuTest from waiting an arbitrary amount of time
(5 seconds) for the config reload to finish to instead waiting upon a
log message to indicate the reload has finished. This resolves some
flaky test results from the test when the previous 5 second sleep wasn't
enough time for the reload to finish.

Fixes: #8860

Change the remap_reload AuTest from waiting an arbitrary amount of time
(5 seconds) for the config reload to finish to instead waiting upon a
log message to indicate the reload has finished. This resolves some
flaky test results from the test when the previous 5 second sleep wasn't
enough time for the reload to finish.

Fixes: apache#8860

@masaori335 masaori335 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks reasonable. Thanks for making it robust.

@brbzull0 brbzull0 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Better this way.

As a note I think 30s is a lot, a reload shouldn't take more than 10s to be done.

@bneradt
bneradt merged commit 26c8f7e into apache:master May 31, 2022
@bneradt
bneradt deleted the make_remap_reload_more_stable branch May 31, 2022 14:31
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.

AuTest CI: inconsistent remap_reload test results

3 participants