mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
reduced sensitivity of test on weak build hosts
This commit is contained in:
@@ -230,7 +230,7 @@ public class AsyncScriptIntegrationTests {
|
|||||||
assertThat(scenarioResult.getIOLog()).contains("step2 metrics.waittime=");
|
assertThat(scenarioResult.getIOLog()).contains("step2 metrics.waittime=");
|
||||||
String iolog = scenarioResult.getIOLog();
|
String iolog = scenarioResult.getIOLog();
|
||||||
System.out.println(iolog);
|
System.out.println(iolog);
|
||||||
assertThat(iolog).contains("waittime trended back down as expected");
|
assertThat(iolog).contains("waittime trended back down as expected")
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ for (i = 0; i < 10; i++) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
scenario.waitMillis(1000);
|
scenario.waitMillis(1000);
|
||||||
if (metrics.co_cycle_delay.cycles.waittime.value < 10000000) {
|
if (metrics.co_cycle_delay.cycles.waittime.value < 50000000) {
|
||||||
print("waittime trended back down as expected, exiting on iteration " + i);
|
print("waittime trended back down as expected, exiting on iteration " + i);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user