Skip to content

Commit 75e3040

Browse files
joelanfordthetechnick
authored andcommitted
TODO: fail upgrade-e2e if revision storage is unmigrated
Signed-off-by: Joe Lanford <[email protected]>
1 parent 13e6283 commit 75e3040

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/upgrade-e2e/post_upgrade_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ func TestClusterExtensionAfterOLMUpgrade(t *testing.T) {
156156
require.True(ct, clusterCatalog.Status.LastUnpacked.After(catalogdManagerPod.CreationTimestamp.Time))
157157
}, time.Minute, time.Second)
158158

159+
// TODO: if we change the underlying revision storage mechanism, the new version
160+
// will not detect any installed versions, we need to make sure that the upgrade
161+
// test fails across revision storage mechanism changes that are not also accompanied
162+
// by code that automatically migrates the revision storage.
163+
159164
t.Log("Checking that the ClusterExtension is installed")
160165
var clusterExtension ocv1.ClusterExtension
161166
require.EventuallyWithT(t, func(ct *assert.CollectT) {

0 commit comments

Comments
 (0)