mirror of
https://github.com/openobserve/goflow2.git
synced 2025-11-15 02:52:02 +00:00
Bugfix: fix closing of UDP routine (#118)
This commit is contained in:
@@ -53,6 +53,7 @@ func TestCancelUDPRoutine(t *testing.T) {
|
||||
require.Contains(t, []string{"message 1", "message 2", "message 3"}, readMessage())
|
||||
|
||||
dp.Shutdown()
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
|
||||
_ = sendMessage("no more messages should be processed")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user