mirror of https://github.com/knative/func.git
test: granting more time to subscriber e2e test before http test trigger, to prevent 503 on some cases (#2909)
This commit is contained in:
parent
00fb58a3d9
commit
a18f763b6a
|
|
@ -200,7 +200,7 @@ func TestFunctionSubscribeEvents(t *testing.T) {
|
||||||
}
|
}
|
||||||
waitChan <- true
|
waitChan <- true
|
||||||
}()
|
}()
|
||||||
time.Sleep(2 * time.Second)
|
time.Sleep(10 * time.Second)
|
||||||
|
|
||||||
// Invoke Producer func to force Event A to be emitted. The event should be received by func
|
// Invoke Producer func to force Event A to be emitted. The event should be received by func
|
||||||
testhttp.TestGet(t, funcSubTest.FuncProducerUrl+"?type="+funcSubTest.SubscribeToEventType+"&message=EVENT_A_CATCH_ME")
|
testhttp.TestGet(t, funcSubTest.FuncProducerUrl+"?type="+funcSubTest.SubscribeToEventType+"&message=EVENT_A_CATCH_ME")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue