java.lang.AssertionError: Did not get valid assignment for partitions [topic1-2, topic2-0, topic1-4, topic-1, topic-0, topic2-1, topic1-0, topic1-3, topic1-1, topic2-2] after we changed subscription

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

My guess is there is some kind of static state in the code being tested or in the test itself, so the tests aren't isolated. Adding the test changes the test order. In any case, your best course of action is to use the debugger to see why the tests fail.

,

Check your assert declaration and the method implementation with the condition.

Solutions on the web

via mail-archive.com by Unknown author, 1 year ago
Did not get valid assignment for partitions [topic1-2, topic2-0, topic1-4, topic-1, topic-0, topic2-1, topic1-0, topic1-3, topic1-1, topic2-2] after we changed subscription
via Stack Overflow by Unknown author, 2 years ago
2 Error(s): (Missing expected output (A, 1 1 str) at position 0., Received unexpected output (A, 1 1 str) at position 0.)
via Terracotta Project Issue Tracker by Scott Buchholz, 1 year ago
Encountered 20 failures; start time: 2013-03-01T14:34:16.241-06:00; failure messages: Failed to find value:4 Failed to find value:5 Failed to find value:4 Failed to find value:0 Failed to find value:1 Failed to find value:1 Failed to find value:5
via terracotta.org by Unknown author, 2 years ago
Encountered 20 failures; start time: 2013-03-01T14:34:16.241-06:00; failure messages: Failed to find value:4 Failed to find value:5 Failed to find value:4 Failed to find value:0 Failed to find value:1 Failed to find value:1 Failed to find
via Terracotta Project Issue Tracker by Scott Buchholz, 1 year ago
Encountered 20 failures; start time: 2013-03-01T14:34:16.241-06:00; failure messages: Failed to find value:4 Failed to find value:5 Failed to find value:4 Failed to find value:0 Failed to find value:1 Failed to find value:1 Failed to find value:5
java.lang.AssertionError: Did not get valid assignment for partitions [topic1-2, topic2-0, topic1-4, topic-1, topic-0, topic2-1, topic1-0, topic1-3, topic1-1, topic2-2] after we changed subscription
at org.junit.Assert.fail(Assert.java:88)
at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:747)

Users with the same issue

Once, 1 day ago
Once, 6 days ago
2 times, 1 week ago
Once, 2 weeks ago
Once, 2 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.