From 0ca9d8b011ade57072ed7deb71e27071b329dc33 Mon Sep 17 00:00:00 2001 From: dcorral Date: Thu, 6 Nov 2025 20:31:51 +0100 Subject: [PATCH] Change port for test --- .gitea/workflows/e2e-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/e2e-test.yml b/.gitea/workflows/e2e-test.yml index 156615d..b1fe6fb 100644 --- a/.gitea/workflows/e2e-test.yml +++ b/.gitea/workflows/e2e-test.yml @@ -21,14 +21,14 @@ jobs: - name: Run SSH server run: | - docker run -d --name ssh-server-test -p 2222:22 -e COMMAND="echo 'SSH connection successful'" ssh-server-test + docker run -d --name ssh-server-test -p 2223:22 -e COMMAND="echo 'SSH connection successful'" ssh-server-test - name: Wait for server to start run: sleep 5 - name: Test SSH connection run: | - output=$(ssh -p 2222 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@localhost "echo test") + output=$(ssh -p 2223 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@localhost "echo test") if [ "$output" = "test" ]; then echo "SSH connection test passed" else