Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramadon committed Oct 17, 2024
1 parent 8201d5d commit 31dc8b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/agent_otel_merging/agent_otel_merging_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func sendPayload(t *testing.T) {
defer resp.Body.Close()

require.True(t, resp.StatusCode >= 200 && resp.StatusCode < 300, "Unexpected status code: %d", resp.StatusCode)
time.Sleep(1 * time.Minute)
time.Sleep(2 * time.Minute)
}

func verifyMetricsInCloudWatch(t *testing.T) {
Expand All @@ -98,7 +98,7 @@ func verifyMetricsInCloudWatch(t *testing.T) {

startTime := time.Now().Add(-5 * time.Minute)
endTime := time.Now()
periodInSeconds := int32(60)
periodInSeconds := int32(1)
statType := []types.Statistic{types.StatisticAverage}

resp, err := awsservice.GetMetricStatistics(
Expand Down

0 comments on commit 31dc8b1

Please sign in to comment.