Skip to content

Fixed stoppable_thread_test error and hide watcher_test error msg - #6367

Merged
larsewi merged 1 commit into
cfengine:masterfrom
victormlg:cf-reactor-ci-errors
Sep 25, 2026
Merged

larsewi merged 1 commit into
cfengine:masterfrom
victormlg:cf-reactor-ci-errors

Conversation

@victormlg

Copy link
Copy Markdown
Contributor

No description provided.

@larsewi

larsewi commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

@cf-bottom Jenkins please :)

1. stoppable_thread_test.c: There was a race condition in test_stop_running_thread, which expected the thread to run at least one iteration before being stopped. ThreadedQueuePush was used to signal that the thread had started, but it was called before the loop, so the test could stop the thread before its first iteration.

2. watcher_test.c, stoppable_thread_test.c: Code intended to fail was logging error instead of capturing the output.

Signed-off-by: Victor Moene <victor.moene@northern.tech>
@cfengine cfengine deleted a comment from cf-bottom Sep 24, 2026
@cf-bottom

Copy link
Copy Markdown

@larsewi
larsewi merged commit 1b86837 into cfengine:master Sep 25, 2026
43 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants