diff --git a/src/test/java/io/weaviate/integration/tests/classifications/ClassificationsTestSuite.java b/src/test/java/io/weaviate/integration/tests/classifications/ClassificationsTestSuite.java index 56f919ed..f3caa99a 100644 --- a/src/test/java/io/weaviate/integration/tests/classifications/ClassificationsTestSuite.java +++ b/src/test/java/io/weaviate/integration/tests/classifications/ClassificationsTestSuite.java @@ -20,6 +20,7 @@ import java.util.stream.Stream; import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; @@ -42,10 +43,12 @@ public static void testScheduler(Supplier> supplier, assertNotNull(classification.getResult()); assertTrue(Arrays.asList(classification.getResult().getBasedOnProperties()).contains("description")); assertTrue(Arrays.asList(classification.getResult().getClassifyProperties()).contains("tagged")); + assertEquals("running", classification.getResult().getStatus()); assertNotNull(classificationWithComplete); assertNotNull(classificationWithComplete.getResult()); assertTrue(Arrays.asList(classificationWithComplete.getResult().getBasedOnProperties()).contains("description")); assertTrue(Arrays.asList(classificationWithComplete.getResult().getClassifyProperties()).contains("tagged")); + assertNotEquals("running", classificationWithComplete.getResult().getStatus()); } public static void testGetter(Supplier> supplierScheduler,