Skip to content

Commit

Permalink
CHANGES
Browse files Browse the repository at this point in the history
  • Loading branch information
hmanukyanVMw committed Oct 3, 2023
1 parent 20dc058 commit cf5ec8b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/internal/acceptance/metric-store/metric_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ scrape_configs:
}

Context("with a single node", func() {
It("deletes shards with old data when Metric Store starts", func() {
FIt("deletes shards with old data when Metric Store starts", func() {
tc, cleanup := setup(1)
defer cleanup()

Expand All @@ -465,6 +465,8 @@ scrape_configs:

value, _, err := tc.localEgressClient.LabelValues(context.Background(),
model.MetricNameLabel, result, minTime, maxTime)
fmt.Println("OLD value is a")
fmt.Println(value)
if err != nil {
return nil
}
Expand All @@ -481,8 +483,15 @@ scrape_configs:
startNode(tc, 0)

Eventually(func() error {
_, _, err := tc.localEgressClient.LabelValues(context.Background(), model.MetricNameLabel,
value2, _, err := tc.localEgressClient.LabelValues(context.Background(), model.MetricNameLabel,
result, minTime, maxTime)

fmt.Println("mintime: ", minTime)
fmt.Println("maxtime: ", maxTime)

fmt.Println("new value is a: ")
fmt.Println(value2)

return err
}, 15).Should(Succeed())

Expand Down

0 comments on commit cf5ec8b

Please sign in to comment.