Class MetricsCheck

java.lang.Object
io.clonecloudstore.test.metrics.MetricsCheck

public class MetricsCheck extends Object
  • Method Details

    • waitForValueTest

      public static double waitForValueTest(io.micrometer.core.instrument.Counter counter, double valueSearch, int maxWait) throws InterruptedException
      Check the counter to reach the desired value up to maxWait ms.
      Returns:
      the new value (possibly greater) or -1 if out of time
      Throws:
      InterruptedException