mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-26 15:36:33 -06:00
disabled overlapping integration test
This commit is contained in:
parent
7ea37b9f5f
commit
f79a91d86c
@ -98,20 +98,22 @@ public class AsyncScriptIntegrationTests {
|
||||
assertThat(rate).isCloseTo(1000, Offset.offset(100.0));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testStrideRateOnly() {
|
||||
ScenarioResult scenarioResult = runScenario("stride_rate");
|
||||
String iolog = scenarioResult.getIOLog();
|
||||
System.out.println("iolog\n" + iolog);
|
||||
Pattern p = Pattern.compile(".*stride_rate.strides.servicetime.meanRate = (\\d[.\\d]+).*", Pattern.DOTALL);
|
||||
Matcher m = p.matcher(iolog);
|
||||
assertThat(m.matches()).isTrue();
|
||||
|
||||
String digits = m.group(1);
|
||||
assertThat(digits).isNotEmpty();
|
||||
double rate = Double.valueOf(digits);
|
||||
assertThat(rate).isCloseTo(2500, Offset.offset(500D));
|
||||
}
|
||||
// The coverage of this test is also covered by the rate limiter
|
||||
// specific tests
|
||||
// @Test
|
||||
// public void testStrideRateOnly() {
|
||||
// ScenarioResult scenarioResult = runScenario("stride_rate");
|
||||
// String iolog = scenarioResult.getIOLog();
|
||||
// System.out.println("iolog\n" + iolog);
|
||||
// Pattern p = Pattern.compile(".*stride_rate.strides.servicetime.meanRate = (\\d[.\\d]+).*", Pattern.DOTALL);
|
||||
// Matcher m = p.matcher(iolog);
|
||||
// assertThat(m.matches()).isTrue();
|
||||
//
|
||||
// String digits = m.group(1);
|
||||
// assertThat(digits).isNotEmpty();
|
||||
// double rate = Double.valueOf(digits);
|
||||
// assertThat(rate).isCloseTo(2500, Offset.offset(500D));
|
||||
// }
|
||||
|
||||
@Test
|
||||
public void testExtensionPoint() {
|
||||
|
Loading…
Reference in New Issue
Block a user