From 9dc3e117e38427807408f438926a468d3fe6e33d Mon Sep 17 00:00:00 2001 From: Ahmed Nour <125875466+ahmed-nour-fdc@users.noreply.github.com> Date: Wed, 6 Mar 2024 13:11:04 +0100 Subject: [PATCH] fix: adapt unstable GC test (#1407) * The test produces inconsistent results. This PR is to increase the threshold a little to tolerate inconsistencies until the test is fixed or removed. --- services/cd-service/pkg/repository/repository_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/cd-service/pkg/repository/repository_test.go b/services/cd-service/pkg/repository/repository_test.go index 7187016fb..a56461164 100644 --- a/services/cd-service/pkg/repository/repository_test.go +++ b/services/cd-service/pkg/repository/repository_test.go @@ -863,7 +863,7 @@ func TestGc(t *testing.T) { GcFrequency: 0, StorageBackend: GitBackend, ExpectedGarbageMin: 906, - ExpectedGarbageMax: 913, + ExpectedGarbageMax: 917, }, { // we are going to perform 101 requests, that should trigger a gc