Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
milaGGL committed Nov 27, 2024
1 parent c55f2f6 commit 457dde5
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ private ListTimeSeriesResponse assertMetricsArePublished(String metric, TimeInte
ListTimeSeriesResponse response = metricClient.listTimeSeriesCallable().call(request);
int attemptsMade = 0;
while (response.getTimeSeriesCount() == 0 && attemptsMade < 3) {
System.out.println("*** fetch response");
// Call listTimeSeries every minute
Thread.sleep(Duration.ofMinutes(1).toMillis());
response = metricClient.listTimeSeriesCallable().call(request);
Expand All @@ -260,8 +259,6 @@ private ListTimeSeriesResponse assertMetricsArePublished(String metric, TimeInte
>= interval.getStartTime().getSeconds())
.collect(Collectors.toList());

System.out.println(filteredData.size());

assertWithMessage("Metric " + metric + " didn't return any data.")
.that(filteredData.size())
.isGreaterThan(0);
Expand Down

0 comments on commit 457dde5

Please sign in to comment.