mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Improve sqlite logging unit tests
By using a consistent timestamp. That avoids rare chances of sqlite output from rounding the current time into such a form that happens to bypass the timestamp canonifier script (whenever it happened to land on a whole or tenth second).
This commit is contained in:
parent
d3927d9266
commit
eef669f048
5 changed files with 8 additions and 4 deletions
|
@ -93,7 +93,7 @@ event zeek_init()
|
|||
$sn=10.0.0.1/24,
|
||||
$a=1.2.3.4,
|
||||
$d=3.14,
|
||||
$t=network_time(),
|
||||
$t=double_to_time(1559847346.10295),
|
||||
$iv=100secs,
|
||||
$s="hurz",
|
||||
$sc=set(1,2,3,4),
|
||||
|
|
|
@ -73,7 +73,7 @@ event zeek_init()
|
|||
$sn=10.0.0.1/24,
|
||||
$a=1.2.3.4,
|
||||
$d=3.14,
|
||||
$t=network_time(),
|
||||
$t=double_to_time(1559847346.10295),
|
||||
$iv=100secs,
|
||||
$s="hurz",
|
||||
$sc=set(1,2,3,4),
|
||||
|
|
|
@ -65,7 +65,7 @@ event zeek_init()
|
|||
$sn=10.0.0.1/24,
|
||||
$a=1.2.3.4,
|
||||
$d=3.14,
|
||||
$t=network_time(),
|
||||
$t=double_to_time(1559847346.10295),
|
||||
$iv=100secs,
|
||||
$s="hurz",
|
||||
$sc=set(1,2,3,4),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue