From 24a3ed4c6e3c3d448872f938d2cecc4a4bd0007d Mon Sep 17 00:00:00 2001 From: Bartek Tofel Date: Fri, 15 May 2026 17:25:06 +0200 Subject: [PATCH] fix: increase Test_Server_CapabilityError timeout to prevent race with expiry ticker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit RequestTimeout was 100ms — equal to the ticker interval — causing the expiry goroutine to fire Cancel(Error_TIMEOUT) before async broker delivery of all 10 messages completed on loaded CI machines. Fixes CRE-4319 --- core/capabilities/remote/executable/server_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/capabilities/remote/executable/server_test.go b/core/capabilities/remote/executable/server_test.go index 0b89c722f23..ad557c4e061 100644 --- a/core/capabilities/remote/executable/server_test.go +++ b/core/capabilities/remote/executable/server_test.go @@ -211,7 +211,7 @@ func Test_Server_CapabilityError(t *testing.T) { numCapabilityPeers := 4 - callers, srvcs := testRemoteExecutableCapabilityServer(ctx, t, &commoncap.RemoteExecutableConfig{}, &TestErrorCapability{}, 10, 9, numCapabilityPeers, 3, 100*time.Millisecond, nil) + callers, srvcs := testRemoteExecutableCapabilityServer(ctx, t, &commoncap.RemoteExecutableConfig{}, &TestErrorCapability{}, 10, 9, numCapabilityPeers, 3, 10*time.Second, nil) for _, caller := range callers { _, err := caller.Execute(t.Context(),