Skip to content

Commit

Permalink
increase timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
fearful-symmetry committed Oct 19, 2023
1 parent 3848c41 commit 92aacb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/integration/monitoring_logs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ func TestMonitoringLogsShipped(t *testing.T) {
docs := findESDocs(t, func() (estools.Documents, error) {
return estools.GetLogsForDatastream(info.ESClient, "elastic_agent.metricbeat")
})
require.NotZero(t, len(docs.Hits.Hits))
t.Logf("metricbeat: Got %d documents", len(docs.Hits.Hits))
require.NotZero(t, len(docs.Hits.Hits))

// Stage 4: make sure all components are healthy
t.Log("Making sure all components are healthy")
Expand Down Expand Up @@ -180,7 +180,7 @@ func findESDocs(t *testing.T, findFn func() (estools.Documents, error)) estools.
docs, err = findFn()
return err == nil
},
3*time.Minute,
10*time.Minute,
15*time.Second,
)

Expand Down

0 comments on commit 92aacb4

Please sign in to comment.