Search in sources :

Example 1 with TestContainer

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;
}
Also used : TestContainer(com.hazelcast.simulator.worker.testcontainer.TestContainer) TestCase(com.hazelcast.simulator.common.TestCase)

Aggregations

TestCase (com.hazelcast.simulator.common.TestCase)1 TestContainer (com.hazelcast.simulator.worker.testcontainer.TestContainer)1