use of com.hazelcast.simulator.worker.testcontainer.TestContainer in project hazelcast-simulator by hazelcast.
the class PerformanceMonitorTest method addTest.
private DelayTestContext addTest(Object test, int delayMillis) {
TestCase testCase = new TestCase(TEST_NAME);
testCase.setProperty("threadCount", 1);
DelayTestContext testContext = new DelayTestContext(delayMillis);
TestContainer testContainer = new TestContainer(testContext, test, testCase);
tests.put(TEST_NAME, testContainer);
return testContext;
}
Aggregations