diff options
author | Toon Claes <toon@gitlab.com> | 2021-10-11 15:52:04 +0300 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2021-10-11 15:52:04 +0300 |
commit | bc5814290bddcf1689f3ba0a07ebccd536d82c58 (patch) | |
tree | b9e711f16f5f92623f4b3baedb9def103ae2cd5b | |
parent | 37bd28c8122ea7656a95cbbec1dbee057645077d (diff) |
WIP: Demonstrate failure in quarantined testtoon-quarantine-tests
This change should not be merged.
-rw-r--r-- | internal/praefect/datastore/storage_cleanup_test.go | 6 |
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) { |