mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
btest/brokerstore-attr-persistence-clone: Add BTEST_BG_RUN_SLEEP=1
This test has become flaky after #4295. It hasn't been failing regularly enough locally to make it approachable. Annotate with BTEST_BG_RUN_SLEEP=1 to revert to pre #4295 behavior, hopefully fixing the flakiness as a side-effect.
This commit is contained in:
parent
f0ccd5c7f8
commit
fa7ffaf8c1
1 changed files with 6 additions and 2 deletions
|
@ -1,8 +1,12 @@
|
|||
# @TEST-PORT: BROKER_PORT
|
||||
|
||||
# @TEST-EXEC: zeek -b %DIR/sort-stuff.zeek common.zeek one.zeek > output1
|
||||
# @TEST-EXEC: btest-bg-run master "cp ../*.sqlite . && zeek -b %DIR/sort-stuff.zeek ../common.zeek ../two.zeek >../output2"
|
||||
# @TEST-EXEC: btest-bg-run clone "zeek -b %DIR/sort-stuff.zeek ../common.zeek ../three.zeek >../output3"
|
||||
#
|
||||
# This test becomes flaky when not sleeping for a second after starting the
|
||||
# test. Due to that, we set BTEST_BG_RUN_SLEEP=1 explicitly. See #4312 and
|
||||
# #4295 for background.
|
||||
# @TEST-EXEC: BTEST_BG_RUN_SLEEP=1 btest-bg-run master "cp ../*.sqlite . && zeek -b %DIR/sort-stuff.zeek ../common.zeek ../two.zeek >../output2"
|
||||
# @TEST-EXEC: BTEST_BG_RUN_SLEEP=1 btest-bg-run clone "zeek -b %DIR/sort-stuff.zeek ../common.zeek ../three.zeek >../output3"
|
||||
# @TEST-EXEC: btest-bg-wait 20
|
||||
|
||||
# @TEST-EXEC: btest-diff output1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue