Skip to content

Commit

Permalink
update network processor tests
Browse files Browse the repository at this point in the history
  • Loading branch information
severindellsperger committed Jul 18, 2024
1 parent f8de9df commit 72bfc33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/processor/network_processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func TestNetworkProcessor_Start(t *testing.T) {
wg.Done()
}()
eventChan <- nil
time.Sleep(helper.NetworkProcessorHoldTime)
time.Sleep(100 * time.Millisecond)
networkProcessor.quitChan <- struct{}{}
wg.Wait()
})
Expand Down Expand Up @@ -337,6 +337,7 @@ func TestNetworkProcessor_Stop(t *testing.T) {
networkProcessor.Start()
wg.Done()
}()
time.Sleep(100 * time.Millisecond)
networkProcessor.Stop()
wg.Wait()
})
Expand Down

0 comments on commit 72bfc33

Please sign in to comment.