From 5bbe4aaa6b3957773d84ab0bd45d2cf03a6ba375 Mon Sep 17 00:00:00 2001 From: colmsnowplow Date: Fri, 19 Apr 2024 17:46:38 +0100 Subject: [PATCH] Patch eventhub test (close #318) --- pkg/target/eventhub_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/target/eventhub_test.go b/pkg/target/eventhub_test.go index 07a0f9c0..565a9a77 100644 --- a/pkg/target/eventhub_test.go +++ b/pkg/target/eventhub_test.go @@ -93,7 +93,7 @@ ResultsLoop: select { case batch := <-resultChannel: res = append(res, batch) - case <-time.After(1 * time.Second): + case <-time.After(timeout): break ResultsLoop } }