ROT: Fehler in Test-Logik aufgedeckt
[demos/kafka/training] / src / test / java / de / juplo / kafka / ApplicationTests.java
index 8369a7b..1e73040 100644 (file)
@@ -36,12 +36,12 @@ public class ApplicationTests extends GenericApplicationTests<String, Long>
 
             for (int partition = 0; partition < 10; partition++)
             {
-              for (int key = 0; key < 10; key++)
+              for (int key = 0; key < 10000; key++)
               {
                 i++;
 
                 Bytes value = new Bytes(longSerializer.serialize(TOPIC, (long)i));
-                if (i == 77)
+                if (i == 99977)
                 {
                   if (logicErrors)
                   {