File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ func TestOCR2Chaos(t *testing.T) {
4343 chaosActionDuration := 30 * time .Second
4444 eaChaosDuration := 30 * time .Second
4545 defaultTwoRounds := []* roundSettings {{value : 1 }, {value : 1e3 }}
46+ anvilContainerName := "anvil-1337"
4647
4748 testCases := []testcase {
4849 {
@@ -52,7 +53,7 @@ func TestOCR2Chaos(t *testing.T) {
5253 roundSettings : defaultTwoRounds ,
5354 repeat : 1 ,
5455 chaos : func () {
55- err := dtc .Chaos ("anvil" , chaos .CmdPause , "" )
56+ err := dtc .Chaos (anvilContainerName , chaos .CmdPause , "" )
5657 require .NoError (t , err )
5758 time .Sleep (chaosActionDuration )
5859 err = dtc .RemoveAll ()
@@ -66,7 +67,7 @@ func TestOCR2Chaos(t *testing.T) {
6667 roundSettings : defaultTwoRounds ,
6768 repeat : 1 ,
6869 chaos : func () {
69- err := dtc .Chaos ("anvil" , chaos .CmdDelay , "3s" )
70+ err := dtc .Chaos (anvilContainerName , chaos .CmdDelay , "3s" )
7071 require .NoError (t , err )
7172 time .Sleep (chaosActionDuration )
7273 err = dtc .RemoveAll ()
You can’t perform that action at this time.
0 commit comments