From d34ba258b0f67a3dbb11b54338f319909be16886 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 30 Oct 2025 17:33:02 +0000 Subject: [PATCH] test_all: fix detection of running servers Before this change stopping servers was unreliable, expecially the non docker based ones. This caused timeouts and connection errors in the tests. --- fstest/testserver/testserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fstest/testserver/testserver.go b/fstest/testserver/testserver.go index 18e7eabfe..45b107243 100644 --- a/fstest/testserver/testserver.go +++ b/fstest/testserver/testserver.go @@ -177,7 +177,7 @@ func Start(remoteName string) (fn func(), err error) { // been started already but not by us and stop it if so const maxTries = 10 for i := 1; i <= maxTries; i++ { - if os.Getenv(envKey(name, "type")) == "" && !isRunning(name) { + if !isRunning(name) { fs.Logf(name, "Stopped server") break }