From 25b59e74333120daf28eb5655ad3d3c86582e102 Mon Sep 17 00:00:00 2001 From: Jiri Danek Date: Fri, 18 Oct 2024 15:04:14 +0200 Subject: [PATCH] fix(update): notebook resourceVersion is expected to change, don't check it --- src/test/java/io/odh/test/e2e/upgrade/OlmUpgradeST.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/io/odh/test/e2e/upgrade/OlmUpgradeST.java b/src/test/java/io/odh/test/e2e/upgrade/OlmUpgradeST.java index 98b0ca4..832373a 100644 --- a/src/test/java/io/odh/test/e2e/upgrade/OlmUpgradeST.java +++ b/src/test/java/io/odh/test/e2e/upgrade/OlmUpgradeST.java @@ -170,6 +170,6 @@ void testUpgradeOlm() throws IOException, InterruptedException { Notebook ntbResourcePreAfter = KubeResourceManager.getKubeClient().getClient().resources(Notebook.class).inNamespace(ntbNamespace).withName(ntbNamePre).get(); Assertions.assertEquals(ntbResourcePre.getMetadata().getUid(), ntbResourcePreAfter.getMetadata().getUid()); Assertions.assertEquals(ntbResourcePre.getSpec(), ntbResourcePreAfter.getSpec()); - Assertions.assertEquals(ntbResourcePre.getMetadata().getResourceVersion(), ntbResourcePreAfter.getMetadata().getResourceVersion()); + // notebook status (and therefore resourceVersion) is expected to change as lastProbeTime status condition is periodically updated } }