From ec01d75ffd9f58556a48401888600d7195c0ede3 Mon Sep 17 00:00:00 2001 From: partisan Date: Sat, 5 Jul 2025 12:17:35 +0200 Subject: [PATCH] Added warm-up time to tests --- tests/integration_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration_test.go b/tests/integration_test.go index f462e30..57d9305 100644 --- a/tests/integration_test.go +++ b/tests/integration_test.go @@ -114,6 +114,10 @@ func TestApplication(t *testing.T) { t.Log("Application is running") + // Warm-up period for 60s to allow preloading preferred Piped instance etc. + t.Log("Warming up for 60s before running tests...") + time.Sleep(60 * time.Second) + // Create a process instance for the application appProcess, err := process.NewProcess(int32(runCmd.Process.Pid)) if err != nil {