Skip to content

Commit

Permalink
[WFLY-19286] We should only reload to lower stability levels, or the …
Browse files Browse the repository at this point in the history
…config might be incompatible with the higher one
  • Loading branch information
kabir committed May 17, 2024
1 parent 3335636 commit 60ce0bd
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,12 @@ public final void setup(ManagementClient managementClient, String containerId) t
Assume.assumeTrue(desiredStability.enables(reloadOpStability));



originalStability = readCurrentStability(managementClient.getControllerClient());

// We only want to reload to lower stability levels (e.g. when running the ts.preview tests, that contains
// some configuration at 'preview' level, so the reload to 'community' fails
Assume.assumeTrue(desiredStability.enables(originalStability));

// Take a snapshot, indicating that when reloading we want to go back to the original stability
snapshot = takeSnapshot(managementClient, originalStability);

Expand Down

0 comments on commit 60ce0bd

Please sign in to comment.