Skip to content

Commit 8206b4e

Browse files
authored
Merge pull request #319 from gitpod-io/kb/fix-s3-batch-test-flake
Fix flaky S3 batch optimization test
2 parents 83bc964 + 248b515 commit 8206b4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/leeway/cache/remote/s3_performance_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ func TestS3Cache_ExistingPackagesBatchOptimization(t *testing.T) {
478478
} else {
479479
// For small package counts, batch overhead may reduce speedup
480480
// Use a lower threshold to avoid flaky tests
481-
require.Greater(t, speedup, 0.75, "Batch optimization should not be significantly slower than sequential")
481+
require.Greater(t, speedup, 0.45, "Batch optimization should not be significantly slower than sequential")
482482
}
483483
})
484484
}

0 commit comments

Comments
 (0)