Skip to content

Commit

Permalink
Increase attempts counts
Browse files Browse the repository at this point in the history
  • Loading branch information
hmanukyanVMw committed Oct 2, 2023
1 parent 7172c19 commit de57f17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/internal/acceptance/metric-store/metric_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,11 +480,12 @@ scrape_configs:

startNode(tc, 0)

time.Sleep(time.Second * 2)
Eventually(func() error {
_, _, err := tc.localEgressClient.LabelValues(context.Background(), model.MetricNameLabel,
result, minTime, maxTime)
return err
}, 28).Should(Succeed())
}, 15).Should(Succeed())

Eventually(func() model.LabelValues {
value, _, err := tc.localEgressClient.LabelValues(context.Background(), model.MetricNameLabel,
Expand All @@ -493,7 +494,7 @@ scrape_configs:
return nil
}
return value
}, 5).Should(Equal(model.LabelValues{
}, 1).Should(Equal(model.LabelValues{
"metric_name_new",
}))
})
Expand Down

0 comments on commit de57f17

Please sign in to comment.