Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Record the suffix-stripped version of termination events by the Cloud…
…FormationChaosMonkey to correctly respect maxTerminationsPerDay
  • Loading branch information
gnethercutt committed Oct 13, 2014
commit bc964a4147189ce0fa3a15f049d46e9565a2a583
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.netflix.simianarmy.basic.chaos;

import com.netflix.simianarmy.MonkeyRecorder.Event;
import com.netflix.simianarmy.chaos.ChaosCrawler.InstanceGroup;
import com.netflix.simianarmy.chaos.ChaosType;

Expand All @@ -26,6 +27,15 @@ protected boolean isGroupEnabled(InstanceGroup group) {
InstanceGroup noSuffixGroup = noSuffixInstanceGroup(group);
return super.isGroupEnabled(noSuffixGroup);
}

/**
* {@inheritDoc}
*/
@Override
protected Event terminateInstance(InstanceGroup group, String inst, ChaosType chaosType) {
InstanceGroup noSuffixGroup = noSuffixInstanceGroup(group);
return super.terminateInstance(noSuffixGroup, inst, chaosType);
}

/**
* {@inheritDoc}
Expand Down