Skip to content

Commit

Permalink
test: Removing redundent \n send from test_id:1779
Browse files Browse the repository at this point in the history
Sending \n twice can cause promt leftover in the buffer.

Signed-off-by: Alona Kaplan <[email protected]>
  • Loading branch information
AlonaKaplan committed Aug 5, 2020
1 parent 37259d4 commit aec87cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/vmi_networking_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ var _ = Describe("[rfe_id:694][crit:medium][vendor:[email protected]][level:comp
Expect(err).ToNot(HaveOccurred())
tests.WaitUntilVMIReady(dnsVMI, tests.LoggedInCirrosExpecter)
err = tests.CheckForTextExpecter(dnsVMI, []expect.Batcher{
&expect.BSnd{S: "\n\n"},
&expect.BSnd{S: "\n"},
&expect.BExp{R: "\\$"},
&expect.BSnd{S: "cat /etc/resolv.conf\n"},
&expect.BExp{R: "search example.com"},
Expand Down

0 comments on commit aec87cd

Please sign in to comment.