You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hack/test-templates.sh: Loosen SSH over VSOCK detection tests
Detection of the SSH server on VSOCK may fail; however, a failing log indicates that controlling detection via the environment variable works as expected.
Change to allow failing detection of the SSH server on VSOCK, because it will fall back to connecting SSH over existing methods and work even if it fails.
Signed-off-by: Norio Nomura <norio.nomura@gmail.com>
# Detection of the SSH server on VSOCK may fail; however, a failing log indicates that controlling detection via the environment variable works as expected.
342
+
if! LIMA_SSH_OVER_VSOCK=true limactl start "${NAME}"2>&1| grep -i -E "(started vsock forwarder|Failed to detect SSH server on vsock)";then
342
343
set +x
343
344
diagnose "${NAME}"
344
345
ERROR "LIMA_SSH_OVER_VSOCK=true did not enable vsock forwarder"
# Detection of the SSH server on VSOCK may fail; however, a failing log indicates that controlling detection via the environment variable works as expected.
351
+
if! LIMA_SSH_OVER_VSOCK="" limactl start "${NAME}"2>&1| grep -i -E "(started vsock forwarder|Failed to detect SSH server on vsock)";then
350
352
set +x
351
353
diagnose "${NAME}"
352
354
ERROR "LIMA_SSH_OVER_VSOCK= did not enable vsock forwarder"
0 commit comments