Skip to content

Commit caba9cd

Browse files
authored
Fix Anvil container name after merge (#21728)
fix name
1 parent 7fc3908 commit caba9cd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

devenv/tests/ocr2/chaos_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)