Skip to content

Commit

Permalink
fix: adapt unstable GC test (#1407)
Browse files Browse the repository at this point in the history
* The test produces inconsistent results. This PR is to increase the
threshold a little to tolerate inconsistencies until the test is fixed
or removed.
  • Loading branch information
ahmed-nour-fdc authored Mar 6, 2024
1 parent f897b26 commit 9dc3e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/cd-service/pkg/repository/repository_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9dc3e11

Please sign in to comment.