diff options
| author | chrislu <chris.lu@gmail.com> | 2025-12-01 17:28:38 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-12-01 17:28:38 -0800 |
| commit | 49ed42b367914ac4f3e2853e698e8fc05ddac24e (patch) | |
| tree | c8f625ee7230e9df78ac40c65af4d0ecc53d8308 /test/tus/tus_integration_test.go | |
| parent | 5e5f05607a76817e3ea0871325ff0087cf722a57 (diff) | |
| download | seaweedfs-49ed42b367914ac4f3e2853e698e8fc05ddac24e.tar.xz seaweedfs-49ed42b367914ac4f3e2853e698e8fc05ddac24e.zip | |
Fix test stability: increase cluster stabilization delay to 5 seconds
The tests were intermittently failing because the volume server needed more
time to create volumes and register with the master. Increasing the delay
from 2 to 5 seconds fixes the flaky test behavior.
Diffstat (limited to 'test/tus/tus_integration_test.go')
| -rw-r--r-- | test/tus/tus_integration_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tus/tus_integration_test.go b/test/tus/tus_integration_test.go index ff8734bda..a03c21dab 100644 --- a/test/tus/tus_integration_test.go +++ b/test/tus/tus_integration_test.go @@ -173,7 +173,7 @@ func startTestCluster(t *testing.T, ctx context.Context) (*TestCluster, error) { // Wait a bit more for the cluster to fully stabilize // Volumes are created lazily, and we need to ensure the master topology is ready - time.Sleep(2 * time.Second) + time.Sleep(5 * time.Second) return cluster, nil } |
