Skip to content

Commit

Permalink
fix(update): notebook resourceVersion is expected to change, don't ch…
Browse files Browse the repository at this point in the history
…eck it
  • Loading branch information
jiridanek committed Oct 18, 2024
1 parent c7e7819 commit 25b59e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/io/odh/test/e2e/upgrade/OlmUpgradeST.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit 25b59e7

Please sign in to comment.