Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Intermittent test failure for MessageDispatchThrottlingTest #771

Merged
merged 1 commit into from
Sep 20, 2017

Conversation

rdhabalia
Copy link
Contributor

@rdhabalia rdhabalia commented Sep 20, 2017

Motivation

Fix Intermittent test failure for MessageDispatchThrottlingTest : reduced message-rate to make sure broker can throttle for longer time and verify consumed message throttling.

Failure:

[^[[1;31mERROR^[[m] testClusterMsgByteRateLimitingClusterConfig(org.apache.pulsar.client.api.MessageDispatchThrottlingTest)  Time elapsed: 3.214 s  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
        at org.apache.pulsar.client.api.MessageDispatchThrottlingTest.testClusterMsgByteRateLimitingClusterConfig(MessageDispatchThrottlingTest.java:282)

[^[[1;31mERROR^[[m] testClusterRateLimitingConfiguration(org.apache.pulsar.client.api.MessageDispatchThrottlingTest)  Time elapsed: 2.501 s  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
        at org.apache.pulsar.client.api.MessageDispatchThrottlingTest.testClusterRateLimitingConfiguration(MessageDispatchThrottlingTest.java:555)

@merlimat
Copy link
Contributor

@rdhabalia Did you try to run the test multiple time (eg: invocationCount=100)?

@rdhabalia
Copy link
Contributor Author

Did you try to run the test multiple time

yes, I have run with invocationCount=50 but now running with higher invocationCount=150 to make sure we won't miss any boundary case.

@merlimat
Copy link
Contributor

it didn't pick up the status change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants