@Test(expected = ChaosException.class) public void getSomeMembersException () { Set<String> members = Collections.singleton("Single Member"); doReturn(members).when(awsRDSPlatform).getClusterInstances(dbClusterIdentifier); awsRDSClusterContainer.getSomeMembers(); }
Set<String> getSomeMembers () { Set<String> someMembers = getSomeMembersInner(); log.info("Experiment using cluster members {}", value("experimentMembers", someMembers)); return someMembers; }
AwsRDSClusterContainer extends AwsContainer { Set<String> getSomeMembers () { Set<String> someMembers = getSomeMembersInner(); log.info("Experiment using cluster members {}", value("experimentMembers", someMembers)); return someMembers; } }
AwsRDSClusterContainer extends AwsContainer { Set<String> getSomeMembers () { Set<String> someMembers = getSomeMembersInner(); log.info("Experiment using cluster members {}", value("experimentMembers", someMembers)); return someMembers; }  }
AwsRDSClusterContainer extends AwsContainer { Set<String> getSomeMembers () { Set<String> someMembers = getSomeMembersInner(); log.info("Experiment using cluster members {}", value("experimentMembers", someMembers)); return someMembers; }  static AwsRDSClusterContainerBuilder builder(); String getEngine(); @Override Platform getPlatform(); @Override String getSimpleName(); @Override String getAggregationIdentifier(); @Override DataDogIdentifier getDataDogIdentifier(); String getDbClusterIdentifier(); @JsonIgnore Set<String> getMembers(); @ChaosExperiment(experimentType = ExperimentType.STATE) void restartInstances(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.STATE) void startSnapshot(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.STATE) void initiateFailover(Experiment experiment); }
AwsRDSClusterContainer extends AwsContainer { Set<String> getSomeMembers () { Set<String> someMembers = getSomeMembersInner(); log.info("Experiment using cluster members {}", value("experimentMembers", someMembers)); return someMembers; }  static AwsRDSClusterContainerBuilder builder(); String getEngine(); @Override Platform getPlatform(); @Override String getSimpleName(); @Override String getAggregationIdentifier(); @Override DataDogIdentifier getDataDogIdentifier(); String getDbClusterIdentifier(); @JsonIgnore Set<String> getMembers(); @ChaosExperiment(experimentType = ExperimentType.STATE) void restartInstances(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.STATE) void startSnapshot(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.STATE) void initiateFailover(Experiment experiment);  }