Skip to content

Commit

Permalink
Debug CI - change port
Browse files Browse the repository at this point in the history
  • Loading branch information
blackandred committed Feb 25, 2021
1 parent 2b79c7b commit ce336be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils/ssh_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def _wait_for_container_to_be_ready():

for i in range(1, 600):
try:
out += str(subprocess.check_output('echo "ttttt\n\n" | nc -w 1 "localhost" "3222"',
out += str(subprocess.check_output('echo "ttttt\n\n" | nc -w 1 "localhost" "3223"',
shell=True, stderr=subprocess.STDOUT))

if "SSH-2.0-OpenSSH" in out:
Expand All @@ -30,7 +30,7 @@ def _wait_for_container_to_be_ready():
def get_current_ssh_server_fingerprint():
try:
return subprocess.check_output(
'ssh-keyscan -t rsa -p 3222 localhost', stderr=subprocess.PIPE, shell=True
'ssh-keyscan -t rsa -p 3223 localhost', stderr=subprocess.PIPE, shell=True
).decode('utf-8')
except subprocess.CalledProcessError as err:
return err.stderr.decode('utf-8') + "\n" + err.stdout.decode('utf-8')
Expand Down

0 comments on commit ce336be

Please sign in to comment.