mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
inlet/flow: wait a bit longer to get back flows with UDP
There is no harm in waiting more as when the test works, the wait is minimal.
This commit is contained in:
@@ -74,7 +74,7 @@ func TestUDPInput(t *testing.T) {
|
|||||||
|
|
||||||
// Get it back
|
// Get it back
|
||||||
select {
|
select {
|
||||||
case <-time.After(20 * time.Millisecond):
|
case <-time.After(time.Second):
|
||||||
t.Fatal("no decoded flows received")
|
t.Fatal("no decoded flows received")
|
||||||
case <-done:
|
case <-done:
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user