mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix race condition in unit test.
Removing an input stream immediately after it's created causes a race to read the entire file before the reader gets the signal to stop.
This commit is contained in:
parent
8d0a74d606
commit
b255aedc26
1 changed files with 0 additions and 1 deletions
|
@ -23,7 +23,6 @@ event bro_init()
|
|||
local source: string = "../input.log";
|
||||
Input::add_analysis([$source=source, $reader=Input::READER_BINARY,
|
||||
$mode=Input::MANUAL, $name=source]);
|
||||
Input::remove(source);
|
||||
}
|
||||
|
||||
event file_state_remove(f: fa_file) &priority=-10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue