diff --git a/nb/src/test/java/io/nosqlbench/engine/core/script/AsyncScriptIntegrationTests.java b/nb/src/test/java/io/nosqlbench/engine/core/script/AsyncScriptIntegrationTests.java index b37b4875e..7b036b2ef 100644 --- a/nb/src/test/java/io/nosqlbench/engine/core/script/AsyncScriptIntegrationTests.java +++ b/nb/src/test/java/io/nosqlbench/engine/core/script/AsyncScriptIntegrationTests.java @@ -110,7 +110,7 @@ public class AsyncScriptIntegrationTests { String digits = m.group(1); assertThat(digits).isNotEmpty(); double rate = Double.valueOf(digits); - assertThat(rate).isCloseTo(5000.0D, Offset.offset(500D)); + assertThat(rate).isCloseTo(2500, Offset.offset(500D)); } @Test diff --git a/nb/src/test/resources/scripts/async/stride_rate.js b/nb/src/test/resources/scripts/async/stride_rate.js index 647312cc1..2fb2084e1 100644 --- a/nb/src/test/resources/scripts/async/stride_rate.js +++ b/nb/src/test/resources/scripts/async/stride_rate.js @@ -18,10 +18,10 @@ stride_rate = { "alias" : "stride_rate", "type" : "diag", - "cycles" : "0..500000", + "cycles" : "0..12500", "stride" : "1", "threads" : "5", - "striderate" : "5000", + "striderate" : "2500", "interval" : "1000", "async" : 1000 };