Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2021-10-11 15:52:04 +0300
committerToon Claes <toon@gitlab.com>2021-10-11 15:52:04 +0300
commitbc5814290bddcf1689f3ba0a07ebccd536d82c58 (patch)
treeb9e711f16f5f92623f4b3baedb9def103ae2cd5b
parent37bd28c8122ea7656a95cbbec1dbee057645077d (diff)
WIP: Demonstrate failure in quarantined testtoon-quarantine-tests
This change should not be merged.
-rw-r--r--internal/praefect/datastore/storage_cleanup_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/praefect/datastore/storage_cleanup_test.go b/internal/praefect/datastore/storage_cleanup_test.go
index f1af0ff53..53ebd7b1e 100644
--- a/internal/praefect/datastore/storage_cleanup_test.go
+++ b/internal/praefect/datastore/storage_cleanup_test.go
@@ -175,6 +175,12 @@ func TestStorageCleanup_AcquireNextStorage(t *testing.T) {
require.Len(t, check3, 1)
require.False(t, check3[0].TriggeredAt.Valid)
})
+
+ t.Run("fail in quarantine", func(t *testing.T) {
+ testhelper.Quarantine(t, "issue-xyz")
+
+ require.True(t, false, "this is supposed to fail in quarantine only")
+ })
}
func TestStorageCleanup_Exists(t *testing.T) {