Search in sources :

Example 21 with SimulatorProperties

use of com.hazelcast.simulator.common.SimulatorProperties in project hazelcast-simulator by hazelcast.

the class CloudProviderUtilsTest method testIsLocal_fromProperties_withLocal.

@Test
public void testIsLocal_fromProperties_withLocal() {
    SimulatorProperties properties = getSimulatorProperties(PROVIDER_LOCAL);
    assertTrue(CloudProviderUtils.isLocal(properties));
}
Also used : SimulatorProperties(com.hazelcast.simulator.common.SimulatorProperties) Test(org.junit.Test)

Aggregations

SimulatorProperties (com.hazelcast.simulator.common.SimulatorProperties)21 Test (org.junit.Test)12 File (java.io.File)5 Before (org.junit.Before)4 Registry (com.hazelcast.simulator.coordinator.registry.Registry)3 Agent (com.hazelcast.simulator.agent.Agent)2 AgentsFile (com.hazelcast.simulator.common.AgentsFile)2 AgentData (com.hazelcast.simulator.coordinator.registry.AgentData)2 FileUtils.ensureExistingFile (com.hazelcast.simulator.utils.FileUtils.ensureExistingFile)2 SimulatorUtils.loadSimulatorProperties (com.hazelcast.simulator.utils.SimulatorUtils.loadSimulatorProperties)2 HazelcastDriver (com.hazelcast.simulator.vendors.HazelcastDriver)2 Bash (com.hazelcast.simulator.utils.Bash)1 FileUtils.newFile (com.hazelcast.simulator.utils.FileUtils.newFile)1 VendorDriver (com.hazelcast.simulator.vendors.VendorDriver)1 Map (java.util.Map)1 Properties (java.util.Properties)1 TreeSet (java.util.TreeSet)1 BeforeClass (org.junit.BeforeClass)1