test: granting more time to subscriber e2e test before http test trigger, to prevent 503 on some cases (#2909)

This commit is contained in:
Jefferson Ramos 2025-07-02 21:05:54 -03:00 committed by GitHub
parent 00fb58a3d9
commit a18f763b6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ func TestFunctionSubscribeEvents(t *testing.T) {
}
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
testhttp.TestGet(t, funcSubTest.FuncProducerUrl+"?type="+funcSubTest.SubscribeToEventType+"&message=EVENT_A_CATCH_ME")