Skip to content

Commit

Permalink
Looks like I missed a set of duplicated string literals in tests/util…
Browse files Browse the repository at this point in the history
…s.go, changed these

Signed-off-by: prnaraya <[email protected]>
  • Loading branch information
prnaraya committed Dec 23, 2021
1 parent c1f9f5d commit a8c60ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -4500,7 +4500,7 @@ func GenerateHelloWorldServer(vmi *v1.VirtualMachineInstance, testPort int, prot
Expect(console.SafeExpectBatch(vmi, []expect.Batcher{
&expect.BSnd{S: serverCommand},
&expect.BExp{R: console.PromptExpression},
&expect.BSnd{S: "echo $?\n"},
&expect.BSnd{S: EchoLastReturnValue},
&expect.BExp{R: console.RetValue("0")},
}, 60)).To(Succeed())
}
Expand Down Expand Up @@ -5156,7 +5156,7 @@ func MountCloudInitFunc(devName string) func(*v1.VirtualMachineInstance) {
&expect.BExp{R: console.PromptExpression},
&expect.BSnd{S: cmdCheck},
&expect.BExp{R: console.PromptExpression},
&expect.BSnd{S: "echo $?\n"},
&expect.BSnd{S: EchoLastReturnValue},
&expect.BExp{R: console.RetValue("0")},
}, 15)
Expect(err).ToNot(HaveOccurred())
Expand Down

0 comments on commit a8c60ff

Please sign in to comment.