diff --git a/test/e2e/fixtures/e2e_suite.go b/test/e2e/fixtures/e2e_suite.go index 7ddec6d5f7..ea5f78f410 100644 --- a/test/e2e/fixtures/e2e_suite.go +++ b/test/e2e/fixtures/e2e_suite.go @@ -30,7 +30,7 @@ const ( Label = "argo-events-e2e" LabelValue = "true" EventBusName = "argo-events-e2e" - defaultTimeout = 120 * time.Second + defaultTimeout = 60 * time.Second ) var ( diff --git a/test/e2e/functional_test.go b/test/e2e/functional_test.go index 4f4fd298c9..2a6b70de44 100644 --- a/test/e2e/functional_test.go +++ b/test/e2e/functional_test.go @@ -188,9 +188,11 @@ func (s *FunctionalSuite) TestMetricsWithWebhook() { Contains("argo_events_event_processing_duration_milliseconds"). Contains("argo_events_events_processing_failed_total") + time.Sleep(3 * time.Second) + // Expect to see 1 success and 1 failure - // w2.Then().ExpectSensorPodLogContains(LogTriggerActionSuccessful("log-trigger")). - // ExpectSensorPodLogContains(LogTriggerActionFailed) + w2.Then().ExpectSensorPodLogContains(LogTriggerActionSuccessful("log-trigger")). + ExpectSensorPodLogContains(LogTriggerActionFailed) // Sensor POD metrics s.e("http://localhost:7718").GET("/metrics").