Skip to content

Commit a18f763

Browse files
authored
test: granting more time to subscriber e2e test before http test trigger, to prevent 503 on some cases (knative#2909)
1 parent 00fb58a commit a18f763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/scenario_subscribe_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func TestFunctionSubscribeEvents(t *testing.T) {
200200
}
201201
waitChan <- true
202202
}()
203-
time.Sleep(2 * time.Second)
203+
time.Sleep(10 * time.Second)
204204

205205
// Invoke Producer func to force Event A to be emitted. The event should be received by func
206206
testhttp.TestGet(t, funcSubTest.FuncProducerUrl+"?type="+funcSubTest.SubscribeToEventType+"&message=EVENT_A_CATCH_ME")

0 commit comments

Comments
 (0)