From 9be400e10bedb670ac25a4dfa547fba44baf6057 Mon Sep 17 00:00:00 2001 From: Andrzej Liszka Date: Wed, 13 Nov 2024 19:24:28 +0100 Subject: [PATCH] wip3 --- .../tests/classifications/ClassificationsTestSuite.java | 3 +++ 1 file changed, 3 insertions(+) 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,