Skip to content

Commit

Permalink
Increase attempts for test
Browse files Browse the repository at this point in the history
  • Loading branch information
hmanukyanVMw committed Oct 2, 2023
1 parent 21be7b8 commit 3b4b0a7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/internal/acceptance/metric-store/metric_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (
"github.com/cloudfoundry/metric-store-release/src/pkg/rpc"
"github.com/cloudfoundry/metric-store-release/src/pkg/rulesclient"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
prom_api_client "github.com/prometheus/client_golang/api"
prom_versioned_api_client "github.com/prometheus/client_golang/api/prometheus/v1"
Expand Down Expand Up @@ -480,13 +479,11 @@ scrape_configs:

startNode(tc, 0)

time.Sleep(time.Second)

Eventually(func() error {
_, _, err := tc.localEgressClient.LabelValues(context.Background(), model.MetricNameLabel,
result, minTime, maxTime)
return err
}, 15).Should(Succeed())
}, 55).Should(Succeed())

Eventually(func() model.LabelValues {
value, _, err := tc.localEgressClient.LabelValues(context.Background(), model.MetricNameLabel,
Expand Down

0 comments on commit 3b4b0a7

Please sign in to comment.