Skip to content

Commit

Permalink
[HWKMETRICS-612] Add a second call to delete a metric already deleted…
Browse files Browse the repository at this point in the history
… to ensure no errors on multiple calls.
  • Loading branch information
Stefan Negrea committed Mar 21, 2017
1 parent 762306d commit 205e59a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ private <T, V> void createAndDeleteMetrics(MetricType<T> mType, T[] dataPointVal
assertEquals(countFromTagIndex, 1);
}
}

metricsService.deleteMetric(mId).toBlocking().lastOrDefault(null);
}
}
}

0 comments on commit 205e59a

Please sign in to comment.