Skip to content

Commit 2db588a

Browse files
author
Alban Siffer
committed
add timer to live test
1 parent 45ae809 commit 2db588a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

analyzer/live_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ func TestLivePcapHuge(t *testing.T) {
7979
t.Error(err)
8080
}
8181
}
82+
time.Sleep(500 * time.Millisecond)
8283
}
8384

8485
func TestLiveAll(t *testing.T) {
@@ -130,6 +131,7 @@ func TestLiveAll(t *testing.T) {
130131
} else {
131132
testOK()
132133
}
134+
time.Sleep(500 * time.Millisecond)
133135
}
134136

135137
}

0 commit comments

Comments
 (0)