Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
Signed-off-by: MenD32 <amit@jounce.io>
  • Loading branch information
MenD32 committed Sep 4, 2024
1 parent 14d1e71 commit b5f535b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/e2e/fixtures/e2e_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const (
Label = "argo-events-e2e"
LabelValue = "true"
EventBusName = "argo-events-e2e"
defaultTimeout = 120 * time.Second
defaultTimeout = 60 * time.Second
)

var (
Expand Down
6 changes: 4 additions & 2 deletions test/e2e/functional_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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").
Expand Down

0 comments on commit b5f535b

Please sign in to comment.