summaryrefslogtreecommitdiff
path: root/internal/eventloop_constructor_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/eventloop_constructor_test.go')
-rw-r--r--internal/eventloop_constructor_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/eventloop_constructor_test.go b/internal/eventloop_constructor_test.go
index 52ca570..6636838 100644
--- a/internal/eventloop_constructor_test.go
+++ b/internal/eventloop_constructor_test.go
@@ -9,6 +9,9 @@ import (
func mustNewEventLoop(tb testing.TB, cfg eventLoopConfig) *eventLoop {
tb.Helper()
+ if _, isBenchmark := tb.(*testing.B); !isBenchmark {
+ cfg.synchronousRawProcessing = true
+ }
el, err := newEventLoop(cfg)
if err != nil {
tb.Fatalf("newEventLoop() error = %v", err)