Skip to content

Commit 7d5b3d0

Browse files
committed
e2e: use imageMatchesDigest in upgrade test
On EKS, bootc status reports the platform-specific content digest in ImageDigest and the manifest-list digest in the Image pullspec. The direct ImageDigest check fails when these differ. Use the imageMatchesDigest helper which accepts both, matching what the controller does via InfoMatchesDigest. Assisted-by: AI Signed-off-by: Alice Frosi <afrosi@redhat.com>
1 parent 041be7e commit 7d5b3d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/e2e/upgrade_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func TestOperatorUpgrade(t *testing.T) {
117117
t.Logf("Patched pool to update image %s", updateRef)
118118

119119
testutil.WaitForNodeIdle(t, g, ctx, env.Client, nodeName, 5*time.Minute,
120-
HaveField("Booted", HaveField("ImageDigest", env.NodeImageUpdateDigest())),
120+
HaveField("Booted", imageMatchesDigest(env.NodeImageUpdateDigest())),
121121
)
122122

123123
t.Logf("Node %q completed update with upgraded operator", nodeName)

0 commit comments

Comments
 (0)