Skip to content

Commit

Permalink
Merge branch 'master' into fixed-comma-split
Browse files Browse the repository at this point in the history
  • Loading branch information
uditgaurav committed Sep 21, 2022
2 parents 9196d76 + 703f507 commit 418e3ed
Show file tree
Hide file tree
Showing 15 changed files with 1,118 additions and 97 deletions.
4 changes: 3 additions & 1 deletion bin/experiment/experiment.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ import (
ebsLossByTag "github.com/litmuschaos/litmus-go/experiments/kube-aws/ebs-loss-by-tag/experiment"
ec2TerminateByID "github.com/litmuschaos/litmus-go/experiments/kube-aws/ec2-terminate-by-id/experiment"
ec2TerminateByTag "github.com/litmuschaos/litmus-go/experiments/kube-aws/ec2-terminate-by-tag/experiment"
springBootChaos "github.com/litmuschaos/litmus-go/experiments/spring-boot/spring-boot-chaos/experiment"
vmpoweroff "github.com/litmuschaos/litmus-go/experiments/vmware/vm-poweroff/experiment"

"github.com/litmuschaos/litmus-go/pkg/clients"
Expand Down Expand Up @@ -181,7 +182,8 @@ func main() {
gcpVMInstanceStopByLabel.GCPVMInstanceStopByLabel(clients)
case "gcp-vm-disk-loss-by-label":
gcpVMDiskLossByLabel.GCPVMDiskLossByLabel(clients)

case "spring-boot-chaos":
springBootChaos.Experiment(clients)
default:
log.Errorf("Unsupported -name %v, please provide the correct value of -name args", *experimentName)
return
Expand Down
1 change: 1 addition & 0 deletions chaoslib/litmus/network-chaos/helper/netem.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ func injectChaos(experimentDetails *experimentTypes.ExperimentDetails, pid int)
for j := range uniqueIps {
if ips[i] == uniqueIps[j] {
isPresent = true
break
}
}
if !isPresent {
Expand Down
Loading

0 comments on commit 418e3ed

Please sign in to comment.