From ab859128f39444327bd42433c48756e7b57980f4 Mon Sep 17 00:00:00 2001 From: Luca Molteni Date: Wed, 20 Mar 2024 15:45:12 +0100 Subject: [PATCH] Fixed unstable test --- .../org/optaplanner/quarkus/it/devui/OptaPlannerDevUITest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/devui-integration-test/src/test/java/org/optaplanner/quarkus/it/devui/OptaPlannerDevUITest.java b/optaplanner-quarkus-integration/optaplanner-quarkus/devui-integration-test/src/test/java/org/optaplanner/quarkus/it/devui/OptaPlannerDevUITest.java index 674295e43e2..3fe650cab7e 100644 --- a/optaplanner-quarkus-integration/optaplanner-quarkus/devui-integration-test/src/test/java/org/optaplanner/quarkus/it/devui/OptaPlannerDevUITest.java +++ b/optaplanner-quarkus-integration/optaplanner-quarkus/devui-integration-test/src/test/java/org/optaplanner/quarkus/it/devui/OptaPlannerDevUITest.java @@ -86,7 +86,7 @@ void testModelPage() throws Exception { @Test void testConstraintsPage() throws Exception { JsonNode constraintsResponse = super.executeJsonRPCMethod("getConstraints"); - assertThat(constraintsResponse).containsExactly( + assertThat(constraintsResponse).containsExactlyInAnyOrder( new TextNode(TestdataStringLengthShadowSolution.class.getPackage() .getName() + "/Don't assign 2 entities the same value."), new TextNode(TestdataStringLengthShadowSolution.class.getPackage().getName() + "/Maximize value length"));