Skip to content

Commit 568bab2

Browse files
authored
run_cmd_on_sup module is missing sending dut pass for ssh connection hence test fails (#9006)
1 parent 81a5199 commit 568bab2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/bgp/test_traffic_shift_sup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ def run_cmd_on_sup(self, cmd):
5959
self.dutuser, self.dutip),
6060
timeout=300)
6161
client.expect(["admin@{}'s password:".format(self.dutip)])
62-
62+
client.sendline(self.dutpass)
63+
client.expect("admin*")
6364
client.sendline(cmd)
6465
client.expect("Password .*")
6566
client.sendline(self.dutpass)

0 commit comments

Comments
 (0)