Skip to content

Commit

Permalink
[fix][test][branch-3.0] Fix test PersistentTopicsTest.testUpdateParti…
Browse files Browse the repository at this point in the history
…tionedTopic

(cherry picked from commit 6e849fc)
  • Loading branch information
coderzc authored and srinath-ctds committed Apr 23, 2024
1 parent 2f45130 commit 6b7aa50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,7 @@ public void testUpdatePartitionedTopic()
true, 5);
verify(response, timeout(5000).times(1)).resume(throwableCaptor.capture());
Assert.assertEquals(throwableCaptor.getValue().getMessage(),
"Desired partitions 5 can't be greater than the maximum partitions per topic 4.");
"Expect partitions 5 grater than maximum partitions per topic 4");

response = mock(AsyncResponse.class);
metaCaptor = ArgumentCaptor.forClass(PartitionedTopicMetadata.class);
Expand Down

0 comments on commit 6b7aa50

Please sign in to comment.