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

Do not use timed receive in BrokerClientIntegrationTest.testUnsupportedBatchMessageConsumer #5333

Merged
merged 1 commit into from
Feb 11, 2020

Conversation

merlimat
Copy link
Contributor

@merlimat merlimat commented Oct 7, 2019

Motivation

The test is failing because the receive(1, TimeUnit.SECONDS) takes more than 1 sec to receive a message.

Also, removing all explicit test timeouts, since we already have a default timeout.

Stacktrace
java.lang.NullPointerException
	at org.apache.pulsar.client.impl.BrokerClientIntegrationTest.testUnsupportedBatchMessageConsumer(BrokerClientIntegrationTest.java:383)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

@codelipenghui
Copy link
Contributor

run java8 tests
run integration tests

1 similar comment
@codelipenghui
Copy link
Contributor

run java8 tests
run integration tests

@sijie sijie removed this from the 2.5.0 milestone Nov 25, 2019
@sijie
Copy link
Member

sijie commented Nov 25, 2019

run cpp tests
run java8 tests

1 similar comment
@jiazhai
Copy link
Member

jiazhai commented Dec 2, 2019

run cpp tests
run java8 tests

devinbost pushed a commit to devinbost/pulsar that referenced this pull request Feb 4, 2020
devinbost pushed a commit to devinbost/pulsar that referenced this pull request Feb 5, 2020
Increased timeouts for state tests. apache#6200 apache#6198

Increased timeouts to testSimpleConsumerEventsWithoutPartition and introduced await to poll on assertions to eliminate use of Thread.sleep in several places. (apache#6014)

Attempting to fix testPulsarKafkaProducerWithSerializer issue by adding await to test. (apache#6137)

Attempt to fix apache#6207 and add more debugging information by pruning docker containers.

Fixed typo in docker commands for getting debug info. apache#6207.

Removing timeouts as per comments in apache#5333. This is for apache#6202.

Fixed timeout issues for CPP tests. apache#6202 and apache#6137

Increased more timeouts. apache#6202 and apache#6137

Fixed typo in CPP test timeout fix. apache#6202  apache#4884

Edited comment to trigger build apache#6202
devinbost pushed a commit to devinbost/pulsar that referenced this pull request Feb 5, 2020
Increased timeouts for state tests. apache#6200 apache#6198

Increased timeouts to testSimpleConsumerEventsWithoutPartition and introduced await to poll on assertions to eliminate use of Thread.sleep in several places. (apache#6014)

Attempting to fix testPulsarKafkaProducerWithSerializer issue by adding await to test. (apache#6137)

Attempt to fix apache#6207 and add more debugging information by pruning docker containers.

Fixed typo in docker commands for getting debug info. apache#6207.

Removing timeouts as per comments in apache#5333. This is for apache#6202.

Fixed timeout issues for CPP tests. apache#6202 and apache#6137

Increased more timeouts. apache#6202 and apache#6137

Fixed typo in CPP test timeout fix. apache#6202  apache#4884

Edited comment to trigger build apache#6202

Rolled back changes to PulsarSpoutTest because fixing some instability broke two of the tests that depend on timeout configurations. Those changes will require more investigation. apache#6202
devinbost pushed a commit to devinbost/pulsar that referenced this pull request Feb 7, 2020
Increased timeouts for state tests. apache#6200 apache#6198

Increased timeouts to testSimpleConsumerEventsWithoutPartition and introduced await to poll on assertions to eliminate use of Thread.sleep in several places. (apache#6014)

Attempting to fix testPulsarKafkaProducerWithSerializer issue by adding await to test. (apache#6137)

Attempt to fix apache#6207 and add more debugging information by pruning docker containers.

Fixed typo in docker commands for getting debug info. apache#6207.

Removing timeouts as per comments in apache#5333. This is for apache#6202.

Fixed timeout issues for CPP tests. apache#6202 and apache#6137

Increased more timeouts. apache#6202 and apache#6137

Fixed typo in CPP test timeout fix. apache#6202  apache#4884

Edited comment to trigger build apache#6202

Rolled back changes to PulsarSpoutTest because fixing some instability broke two of the tests that depend on timeout configurations. Those changes will require more investigation. apache#6202

Added timeouts back in places where required. Increased timeouts though. apache#6202

Fixed timeouts for Storm and Kafka tests. Also removed debug block that was accidentially included in ReaderTest. apache#6202

Editing comment to trigger new build. apache#6202

Attempt to workaround test failure. apache#6202

Adding some timeouts back to get beyond hanging tests. apache#6202

Increased sleep value as temporary workaround for thread timeout. apache#6202

Added back timeouts to fix hang but increased timeouts from 1s to 5s. apache#6202

Added back timeout (but made it longer) to prevent hanging test. apache#6202

Fixed formatting since it was breaking the build. apache#6202
@merlimat merlimat force-pushed the fix-broker-client-integration-test branch from 22bc799 to 7b69e99 Compare February 10, 2020 17:10
@merlimat merlimat merged commit 83799f8 into apache:master Feb 11, 2020
devinbost pushed a commit to devinbost/pulsar that referenced this pull request Feb 11, 2020
Increased timeouts for state tests. apache#6200 apache#6198

Increased timeouts to testSimpleConsumerEventsWithoutPartition and introduced await to poll on assertions to eliminate use of Thread.sleep in several places. (apache#6014)

Attempting to fix testPulsarKafkaProducerWithSerializer issue by adding await to test. (apache#6137)

Attempt to fix apache#6207 and add more debugging information by pruning docker containers.

Fixed typo in docker commands for getting debug info. apache#6207.

Removing timeouts as per comments in apache#5333. This is for apache#6202.

Fixed timeout issues for CPP tests. apache#6202 and apache#6137

Increased more timeouts. apache#6202 and apache#6137

Fixed typo in CPP test timeout fix. apache#6202  apache#4884

Edited comment to trigger build apache#6202

Rolled back changes to PulsarSpoutTest because fixing some instability broke two of the tests that depend on timeout configurations. Those changes will require more investigation. apache#6202

Added timeouts back in places where required. Increased timeouts though. apache#6202

Fixed timeouts for Storm and Kafka tests. Also removed debug block that was accidentially included in ReaderTest. apache#6202

Editing comment to trigger new build. apache#6202

Attempt to workaround test failure. apache#6202

Adding some timeouts back to get beyond hanging tests. apache#6202

Increased sleep value as temporary workaround for thread timeout. apache#6202

Added back timeouts to fix hang but increased timeouts from 1s to 5s. apache#6202

Added back timeout (but made it longer) to prevent hanging test. apache#6202

Fixed formatting since it was breaking the build. apache#6202

Increased more test timeouts to get them to pass on slow hardware. apache#6202

Increased more test timeouts to get them to pass on slow hardware. apache#6202

Edited more test timeouts to get them to pass on slow hardware. apache#6202

Triggering tests due to 'Could not transfer artifact' maven issue. apache#6202

Increased or edited timeouts to get more tests to pass. apache#6202

Triggering new build by changing comment. apache#6202

Fixed timeouts (to short timeouts) when null message is expected. apache#6202

Triggering new build by changing comment. apache#6202

Increased timeout. apache#6202

Increased sleep as temporary workaround. apache#6202

Tuned timeouts more. apache#6202

Widening time to force timeout in timeout test. apache#6202

Fixed spelling typo. apache#6202

Added randomization of namespace name. apache#6202

Added random name generator to names of producers, subscriptions, and topics in ClientDeduplicationTest to fix duplicate name conflicts. apache#6202

Fixed issues with duplicate namespaces with repeated test runs. apache#6202
devinbost pushed a commit to devinbost/pulsar that referenced this pull request Feb 14, 2020
Increased timeouts for state tests. apache#6200 apache#6198

Increased timeouts to testSimpleConsumerEventsWithoutPartition and introduced await to poll on assertions to eliminate use of Thread.sleep in several places. (apache#6014)

Attempting to fix testPulsarKafkaProducerWithSerializer issue by adding await to test. (apache#6137)

Attempt to fix apache#6207 and add more debugging information by pruning docker containers.

Fixed typo in docker commands for getting debug info. apache#6207.

Removing timeouts as per comments in apache#5333. This is for apache#6202.

Fixed timeout issues for CPP tests. apache#6202 and apache#6137

Increased more timeouts. apache#6202 and apache#6137

Fixed typo in CPP test timeout fix. apache#6202  apache#4884

Edited comment to trigger build apache#6202

Rolled back changes to PulsarSpoutTest because fixing some instability broke two of the tests that depend on timeout configurations. Those changes will require more investigation. apache#6202

Added timeouts back in places where required. Increased timeouts though. apache#6202

Fixed timeouts for Storm and Kafka tests. Also removed debug block that was accidentially included in ReaderTest. apache#6202

Editing comment to trigger new build. apache#6202

Attempt to workaround test failure. apache#6202

Adding some timeouts back to get beyond hanging tests. apache#6202

Increased sleep value as temporary workaround for thread timeout. apache#6202

Added back timeouts to fix hang but increased timeouts from 1s to 5s. apache#6202

Added back timeout (but made it longer) to prevent hanging test. apache#6202

Fixed formatting since it was breaking the build. apache#6202

Increased more test timeouts to get them to pass on slow hardware. apache#6202

Increased more test timeouts to get them to pass on slow hardware. apache#6202

Edited more test timeouts to get them to pass on slow hardware. apache#6202

Triggering tests due to 'Could not transfer artifact' maven issue. apache#6202

Increased or edited timeouts to get more tests to pass. apache#6202

Triggering new build by changing comment. apache#6202

Fixed timeouts (to short timeouts) when null message is expected. apache#6202

Triggering new build by changing comment. apache#6202

Increased timeout. apache#6202

Increased sleep as temporary workaround. apache#6202

Tuned timeouts more. apache#6202

Widening time to force timeout in timeout test. apache#6202

Fixed spelling typo. apache#6202

Added randomization of namespace name. apache#6202

Added random name generator to names of producers, subscriptions, and topics in ClientDeduplicationTest to fix duplicate name conflicts. apache#6202

Fixed issues with duplicate namespaces with repeated test runs. apache#6202

Added randomization to topic name to prevent potential conflicts that might be causing non-determinism in test. apache#6202

Added randomization to namespace name to prevent issues with topics not clearing out before second run of tests. apache#6202

Attempt to get C++ test fixed. It's not clear if this commit will build though... apache#6202

Replaced snake_case with camelCase to try to get c++ format to pass the build. apache#6202

Adding random name to subscription to see if that resolves the fact that this test only fails on the second subsequent run. apache#6202

Fixed timeout issues. apache#6202

Attempting fix of testPerTopicStats() by addressing race condition. apache#6202

Adding some debugging to help troubleshoot flaky test. apache#6202

Removing code that wasn't building anyway. apache#6202

Changed how we're testing Prometheus by filtering the topic name to fix race conditions between test runs and sharing broker state. apache#6202

Added more debugging information and fixed assertion apache#6202

Trigger new build apache#6202

Added long timeouts to ensure that broker tests do timeout instead of hanging but without timing out too soon apache#6202

Fixed imports for TimeUnit apache#6202

Fixed imports for TimeUnit apache#6202

Pushing changes to allow discussion on what's happening. apache#6202

Fixed timeouts for the testSharedSingleAckedPartitionedTopic() test. apache#6202
devinbost pushed a commit to devinbost/pulsar that referenced this pull request Feb 14, 2020
Increased timeouts for state tests. apache#6200 apache#6198

Increased timeouts to testSimpleConsumerEventsWithoutPartition and introduced await to poll on assertions to eliminate use of Thread.sleep in several places. (apache#6014)

Attempting to fix testPulsarKafkaProducerWithSerializer issue by adding await to test. (apache#6137)

Attempt to fix apache#6207 and add more debugging information by pruning docker containers.

Fixed typo in docker commands for getting debug info. apache#6207.

Removing timeouts as per comments in apache#5333. This is for apache#6202.

Fixed timeout issues for CPP tests. apache#6202 and apache#6137

Increased more timeouts. apache#6202 and apache#6137

Fixed typo in CPP test timeout fix. apache#6202  apache#4884

Edited comment to trigger build apache#6202

Rolled back changes to PulsarSpoutTest because fixing some instability broke two of the tests that depend on timeout configurations. Those changes will require more investigation. apache#6202

Added timeouts back in places where required. Increased timeouts though. apache#6202

Fixed timeouts for Storm and Kafka tests. Also removed debug block that was accidentially included in ReaderTest. apache#6202

Editing comment to trigger new build. apache#6202

Attempt to workaround test failure. apache#6202

Adding some timeouts back to get beyond hanging tests. apache#6202

Increased sleep value as temporary workaround for thread timeout. apache#6202

Added back timeouts to fix hang but increased timeouts from 1s to 5s. apache#6202

Added back timeout (but made it longer) to prevent hanging test. apache#6202

Fixed formatting since it was breaking the build. apache#6202

Increased more test timeouts to get them to pass on slow hardware. apache#6202

Increased more test timeouts to get them to pass on slow hardware. apache#6202

Edited more test timeouts to get them to pass on slow hardware. apache#6202

Triggering tests due to 'Could not transfer artifact' maven issue. apache#6202

Increased or edited timeouts to get more tests to pass. apache#6202

Triggering new build by changing comment. apache#6202

Fixed timeouts (to short timeouts) when null message is expected. apache#6202

Triggering new build by changing comment. apache#6202

Increased timeout. apache#6202

Increased sleep as temporary workaround. apache#6202

Tuned timeouts more. apache#6202

Widening time to force timeout in timeout test. apache#6202

Fixed spelling typo. apache#6202

Added randomization of namespace name. apache#6202

Added random name generator to names of producers, subscriptions, and topics in ClientDeduplicationTest to fix duplicate name conflicts. apache#6202

Fixed issues with duplicate namespaces with repeated test runs. apache#6202

Added randomization to topic name to prevent potential conflicts that might be causing non-determinism in test. apache#6202

Added randomization to namespace name to prevent issues with topics not clearing out before second run of tests. apache#6202

Attempt to get C++ test fixed. It's not clear if this commit will build though... apache#6202

Replaced snake_case with camelCase to try to get c++ format to pass the build. apache#6202

Adding random name to subscription to see if that resolves the fact that this test only fails on the second subsequent run. apache#6202

Fixed timeout issues. apache#6202

Attempting fix of testPerTopicStats() by addressing race condition. apache#6202

Adding some debugging to help troubleshoot flaky test. apache#6202

Removing code that wasn't building anyway. apache#6202

Changed how we're testing Prometheus by filtering the topic name to fix race conditions between test runs and sharing broker state. apache#6202

Added more debugging information and fixed assertion apache#6202

Trigger new build apache#6202

Added long timeouts to ensure that broker tests do timeout instead of hanging but without timing out too soon apache#6202

Fixed imports for TimeUnit apache#6202

Fixed imports for TimeUnit apache#6202

Pushing changes to allow discussion on what's happening. apache#6202

Fixed timeouts for the testSharedSingleAckedPartitionedTopic() test. apache#6202

Fixed issue with Prometheus test. apache#6202

Can't use receive with timeout, if the queue size is 0. Fixed InterceptorsTest. apache#6202

Can't use receive with timeout, if the queue size is 0. apache#6202
devinbost pushed a commit to devinbost/pulsar that referenced this pull request Feb 17, 2020
Increased timeouts for state tests. apache#6200 apache#6198

Increased timeouts to testSimpleConsumerEventsWithoutPartition and introduced await to poll on assertions to eliminate use of Thread.sleep in several places. (apache#6014)

Attempting to fix testPulsarKafkaProducerWithSerializer issue by adding await to test. (apache#6137)

Attempt to fix apache#6207 and add more debugging information by pruning docker containers.

Fixed typo in docker commands for getting debug info. apache#6207.

Removing timeouts as per comments in apache#5333. This is for apache#6202.

Fixed timeout issues for CPP tests. apache#6202 and apache#6137

Increased more timeouts. apache#6202 and apache#6137

Fixed typo in CPP test timeout fix. apache#6202  apache#4884

Edited comment to trigger build apache#6202

Rolled back changes to PulsarSpoutTest because fixing some instability broke two of the tests that depend on timeout configurations. Those changes will require more investigation. apache#6202

Added timeouts back in places where required. Increased timeouts though. apache#6202

Fixed timeouts for Storm and Kafka tests. Also removed debug block that was accidentially included in ReaderTest. apache#6202

Editing comment to trigger new build. apache#6202

Attempt to workaround test failure. apache#6202

Adding some timeouts back to get beyond hanging tests. apache#6202

Increased sleep value as temporary workaround for thread timeout. apache#6202

Added back timeouts to fix hang but increased timeouts from 1s to 5s. apache#6202

Added back timeout (but made it longer) to prevent hanging test. apache#6202

Fixed formatting since it was breaking the build. apache#6202

Increased more test timeouts to get them to pass on slow hardware. apache#6202

Increased more test timeouts to get them to pass on slow hardware. apache#6202

Edited more test timeouts to get them to pass on slow hardware. apache#6202

Triggering tests due to 'Could not transfer artifact' maven issue. apache#6202

Increased or edited timeouts to get more tests to pass. apache#6202

Triggering new build by changing comment. apache#6202

Fixed timeouts (to short timeouts) when null message is expected. apache#6202

Triggering new build by changing comment. apache#6202

Increased timeout. apache#6202

Increased sleep as temporary workaround. apache#6202

Tuned timeouts more. apache#6202

Widening time to force timeout in timeout test. apache#6202

Fixed spelling typo. apache#6202

Added randomization of namespace name. apache#6202

Added random name generator to names of producers, subscriptions, and topics in ClientDeduplicationTest to fix duplicate name conflicts. apache#6202

Fixed issues with duplicate namespaces with repeated test runs. apache#6202

Added randomization to topic name to prevent potential conflicts that might be causing non-determinism in test. apache#6202

Added randomization to namespace name to prevent issues with topics not clearing out before second run of tests. apache#6202

Attempt to get C++ test fixed. It's not clear if this commit will build though... apache#6202

Replaced snake_case with camelCase to try to get c++ format to pass the build. apache#6202

Adding random name to subscription to see if that resolves the fact that this test only fails on the second subsequent run. apache#6202

Fixed timeout issues. apache#6202

Attempting fix of testPerTopicStats() by addressing race condition. apache#6202

Adding some debugging to help troubleshoot flaky test. apache#6202

Removing code that wasn't building anyway. apache#6202

Changed how we're testing Prometheus by filtering the topic name to fix race conditions between test runs and sharing broker state. apache#6202

Added more debugging information and fixed assertion apache#6202

Trigger new build apache#6202

Added long timeouts to ensure that broker tests do timeout instead of hanging but without timing out too soon apache#6202

Fixed imports for TimeUnit apache#6202

Fixed imports for TimeUnit apache#6202

Pushing changes to allow discussion on what's happening. apache#6202

Fixed timeouts for the testSharedSingleAckedPartitionedTopic() test. apache#6202

Fixed issue with Prometheus test. apache#6202

Can't use receive with timeout, if the queue size is 0. Fixed InterceptorsTest. apache#6202

Can't use receive with timeout, if the queue size is 0. apache#6202

Fixed Can't use receive with timeout, if the queue size is 0. apache#6202

Edited comment to trigger re-run of all tests to find more flaky tests. apache#6202

Fixed more of the concurrency issue in testPerTopicStats that was causing namespace conflicts. apache#6202
devinbost pushed a commit to devinbost/pulsar that referenced this pull request Feb 22, 2020
Increased timeouts for state tests. apache#6200 apache#6198

Increased timeouts to testSimpleConsumerEventsWithoutPartition and introduced await to poll on assertions to eliminate use of Thread.sleep in several places. (apache#6014)

Attempting to fix testPulsarKafkaProducerWithSerializer issue by adding await to test. (apache#6137)

Attempt to fix apache#6207 and add more debugging information by pruning docker containers.

Fixed typo in docker commands for getting debug info. apache#6207.

Removing timeouts as per comments in apache#5333. This is for apache#6202.

Fixed timeout issues for CPP tests. apache#6202 and apache#6137

Increased more timeouts. apache#6202 and apache#6137

Fixed typo in CPP test timeout fix. apache#6202  apache#4884

Edited comment to trigger build apache#6202

Rolled back changes to PulsarSpoutTest because fixing some instability broke two of the tests that depend on timeout configurations. Those changes will require more investigation. apache#6202

Added timeouts back in places where required. Increased timeouts though. apache#6202

Fixed timeouts for Storm and Kafka tests. Also removed debug block that was accidentially included in ReaderTest. apache#6202

Editing comment to trigger new build. apache#6202

Attempt to workaround test failure. apache#6202

Adding some timeouts back to get beyond hanging tests. apache#6202

Increased sleep value as temporary workaround for thread timeout. apache#6202

Added back timeouts to fix hang but increased timeouts from 1s to 5s. apache#6202

Added back timeout (but made it longer) to prevent hanging test. apache#6202

Fixed formatting since it was breaking the build. apache#6202

Increased more test timeouts to get them to pass on slow hardware. apache#6202

Increased more test timeouts to get them to pass on slow hardware. apache#6202

Edited more test timeouts to get them to pass on slow hardware. apache#6202

Triggering tests due to 'Could not transfer artifact' maven issue. apache#6202

Increased or edited timeouts to get more tests to pass. apache#6202

Triggering new build by changing comment. apache#6202

Fixed timeouts (to short timeouts) when null message is expected. apache#6202

Triggering new build by changing comment. apache#6202

Increased timeout. apache#6202

Increased sleep as temporary workaround. apache#6202

Tuned timeouts more. apache#6202

Widening time to force timeout in timeout test. apache#6202

Fixed spelling typo. apache#6202

Added randomization of namespace name. apache#6202

Added random name generator to names of producers, subscriptions, and topics in ClientDeduplicationTest to fix duplicate name conflicts. apache#6202

Fixed issues with duplicate namespaces with repeated test runs. apache#6202

Added randomization to topic name to prevent potential conflicts that might be causing non-determinism in test. apache#6202

Added randomization to namespace name to prevent issues with topics not clearing out before second run of tests. apache#6202

Attempt to get C++ test fixed. It's not clear if this commit will build though... apache#6202

Replaced snake_case with camelCase to try to get c++ format to pass the build. apache#6202

Adding random name to subscription to see if that resolves the fact that this test only fails on the second subsequent run. apache#6202

Fixed timeout issues. apache#6202

Attempting fix of testPerTopicStats() by addressing race condition. apache#6202

Adding some debugging to help troubleshoot flaky test. apache#6202

Removing code that wasn't building anyway. apache#6202

Changed how we're testing Prometheus by filtering the topic name to fix race conditions between test runs and sharing broker state. apache#6202

Added more debugging information and fixed assertion apache#6202

Trigger new build apache#6202

Added long timeouts to ensure that broker tests do timeout instead of hanging but without timing out too soon apache#6202

Fixed imports for TimeUnit apache#6202

Fixed imports for TimeUnit apache#6202

Pushing changes to allow discussion on what's happening. apache#6202

Fixed timeouts for the testSharedSingleAckedPartitionedTopic() test. apache#6202

Fixed issue with Prometheus test. apache#6202

Can't use receive with timeout, if the queue size is 0. Fixed InterceptorsTest. apache#6202

Can't use receive with timeout, if the queue size is 0. apache#6202

Fixed Can't use receive with timeout, if the queue size is 0. apache#6202

Edited comment to trigger re-run of all tests to find more flaky tests. apache#6202

Fixed more of the concurrency issue in testPerTopicStats that was causing namespace conflicts. apache#6202

Fixed something I missed during rebasing. apache#6202

Fixed issues with Prometheus tests. apache#6256

Changed MessageId.latest to MessageId.earliest to fix apache#6224

Fixes issue apache#6352

Triggering build to inspect test results. apache#6202

Added timeouts to fix hanging tests. apache#6202

Triggering new build. apache#6202

Updating Github workflow to build surefire artifacts if previous step was cancelled, not just failed. apache#6202

Changing CI Unit Action to always build surefire artifacts to help with debugging hanging test. apache#6202

Triggering new build with arbitrary edit. apache#6202

Triggering build with arbitrary change to comment apache#6202

Triggering new build with arbitrary code change. apache#6202

Triggering new build with arbitrary code change. apache#6202
devinbost pushed a commit to devinbost/pulsar that referenced this pull request Feb 24, 2020
Increased timeouts for state tests. apache#6200 apache#6198

Increased timeouts to testSimpleConsumerEventsWithoutPartition and introduced await to poll on assertions to eliminate use of Thread.sleep in several places. (apache#6014)

Attempting to fix testPulsarKafkaProducerWithSerializer issue by adding await to test. (apache#6137)

Attempt to fix apache#6207 and add more debugging information by pruning docker containers.

Fixed typo in docker commands for getting debug info. apache#6207.

Removing timeouts as per comments in apache#5333. This is for apache#6202.

Fixed timeout issues for CPP tests. apache#6202 and apache#6137

Increased more timeouts. apache#6202 and apache#6137

Fixed typo in CPP test timeout fix. apache#6202  apache#4884

Edited comment to trigger build apache#6202

Rolled back changes to PulsarSpoutTest because fixing some instability broke two of the tests that depend on timeout configurations. Those changes will require more investigation. apache#6202

Added timeouts back in places where required. Increased timeouts though. apache#6202

Fixed timeouts for Storm and Kafka tests. Also removed debug block that was accidentially included in ReaderTest. apache#6202

Editing comment to trigger new build. apache#6202

Attempt to workaround test failure. apache#6202

Adding some timeouts back to get beyond hanging tests. apache#6202

Increased sleep value as temporary workaround for thread timeout. apache#6202

Added back timeouts to fix hang but increased timeouts from 1s to 5s. apache#6202

Added back timeout (but made it longer) to prevent hanging test. apache#6202

Fixed formatting since it was breaking the build. apache#6202

Increased more test timeouts to get them to pass on slow hardware. apache#6202

Increased more test timeouts to get them to pass on slow hardware. apache#6202

Edited more test timeouts to get them to pass on slow hardware. apache#6202

Triggering tests due to 'Could not transfer artifact' maven issue. apache#6202

Increased or edited timeouts to get more tests to pass. apache#6202

Triggering new build by changing comment. apache#6202

Fixed timeouts (to short timeouts) when null message is expected. apache#6202

Triggering new build by changing comment. apache#6202

Increased timeout. apache#6202

Increased sleep as temporary workaround. apache#6202

Tuned timeouts more. apache#6202

Widening time to force timeout in timeout test. apache#6202

Fixed spelling typo. apache#6202

Added randomization of namespace name. apache#6202

Added random name generator to names of producers, subscriptions, and topics in ClientDeduplicationTest to fix duplicate name conflicts. apache#6202

Fixed issues with duplicate namespaces with repeated test runs. apache#6202

Added randomization to topic name to prevent potential conflicts that might be causing non-determinism in test. apache#6202

Added randomization to namespace name to prevent issues with topics not clearing out before second run of tests. apache#6202

Attempt to get C++ test fixed. It's not clear if this commit will build though... apache#6202

Replaced snake_case with camelCase to try to get c++ format to pass the build. apache#6202

Adding random name to subscription to see if that resolves the fact that this test only fails on the second subsequent run. apache#6202

Fixed timeout issues. apache#6202

Attempting fix of testPerTopicStats() by addressing race condition. apache#6202

Adding some debugging to help troubleshoot flaky test. apache#6202

Removing code that wasn't building anyway. apache#6202

Changed how we're testing Prometheus by filtering the topic name to fix race conditions between test runs and sharing broker state. apache#6202

Added more debugging information and fixed assertion apache#6202

Trigger new build apache#6202

Added long timeouts to ensure that broker tests do timeout instead of hanging but without timing out too soon apache#6202

Fixed imports for TimeUnit apache#6202

Fixed imports for TimeUnit apache#6202

Pushing changes to allow discussion on what's happening. apache#6202

Fixed timeouts for the testSharedSingleAckedPartitionedTopic() test. apache#6202

Fixed issue with Prometheus test. apache#6202

Can't use receive with timeout, if the queue size is 0. Fixed InterceptorsTest. apache#6202

Can't use receive with timeout, if the queue size is 0. apache#6202

Fixed Can't use receive with timeout, if the queue size is 0. apache#6202

Edited comment to trigger re-run of all tests to find more flaky tests. apache#6202

Fixed more of the concurrency issue in testPerTopicStats that was causing namespace conflicts. apache#6202

Fixed something I missed during rebasing. apache#6202

Fixed issues with Prometheus tests. apache#6256

Changed MessageId.latest to MessageId.earliest to fix apache#6224

Fixes issue apache#6352

Triggering build to inspect test results. apache#6202

Added timeouts to fix hanging tests. apache#6202

Triggering new build. apache#6202

Updating Github workflow to build surefire artifacts if previous step was cancelled, not just failed. apache#6202

Changing CI Unit Action to always build surefire artifacts to help with debugging hanging test. apache#6202

Triggering new build with arbitrary edit. apache#6202

Triggering build with arbitrary change to comment apache#6202

Triggering new build with arbitrary code change. apache#6202

Triggering new build with arbitrary code change. apache#6202

Changing surefire trigger back to failure() apache#6202

Added surefire artifacts to run always again. apache#6202

Triggering new build. apache#6202

Added condition to make testPartitions() more robust during repeated runs apache#6202

Implementing Sijie's suggestion about timeout for persistentTopicsCursorResetAfterReset(..) test. apache#6202
@merlimat merlimat deleted the fix-broker-client-integration-test branch February 26, 2020 17:46
devinbost pushed a commit to devinbost/pulsar that referenced this pull request Mar 13, 2020
Added awaitility to two pom files.

Increased timeouts for state tests. apache#6200 apache#6198

Increased timeouts to testSimpleConsumerEventsWithoutPartition and introduced await to poll on assertions to eliminate use of Thread.sleep in several places. (apache#6014)

Attempting to fix testPulsarKafkaProducerWithSerializer issue by adding await to test. (apache#6137)

Attempt to fix apache#6207 and add more debugging information by pruning docker containers.

Fixed typo in docker commands for getting debug info. apache#6207.

Removing timeouts as per comments in apache#5333. This is for apache#6202.

Fixed timeout issues for CPP tests. apache#6202 and apache#6137

Increased more timeouts. apache#6202 and apache#6137

Fixed typo in CPP test timeout fix. apache#6202  apache#4884

Edited comment to trigger build apache#6202

Rolled back changes to PulsarSpoutTest because fixing some instability broke two of the tests that depend on timeout configurations. Those changes will require more investigation. apache#6202

Added timeouts back in places where required. Increased timeouts though. apache#6202

Fixed timeouts for Storm and Kafka tests. Also removed debug block that was accidentially included in ReaderTest. apache#6202

Editing comment to trigger new build. apache#6202

Attempt to workaround test failure. apache#6202

Adding some timeouts back to get beyond hanging tests. apache#6202

Increased sleep value as temporary workaround for thread timeout. apache#6202

Added back timeouts to fix hang but increased timeouts from 1s to 5s. apache#6202

Added back timeout (but made it longer) to prevent hanging test. apache#6202

Fixed formatting since it was breaking the build. apache#6202

Increased more test timeouts to get them to pass on slow hardware. apache#6202

Increased more test timeouts to get them to pass on slow hardware. apache#6202

Edited more test timeouts to get them to pass on slow hardware. apache#6202

Triggering tests due to 'Could not transfer artifact' maven issue. apache#6202

Increased or edited timeouts to get more tests to pass. apache#6202

Triggering new build by changing comment. apache#6202

Fixed timeouts (to short timeouts) when null message is expected. apache#6202

Triggering new build by changing comment. apache#6202

Increased timeout. apache#6202

Increased sleep as temporary workaround. apache#6202

Tuned timeouts more. apache#6202

Widening time to force timeout in timeout test. apache#6202

Fixed spelling typo. apache#6202

Added randomization of namespace name. apache#6202

Added random name generator to names of producers, subscriptions, and topics in ClientDeduplicationTest to fix duplicate name conflicts. apache#6202

Fixed issues with duplicate namespaces with repeated test runs. apache#6202

Added randomization to topic name to prevent potential conflicts that might be causing non-determinism in test. apache#6202

Added randomization to namespace name to prevent issues with topics not clearing out before second run of tests. apache#6202

Attempt to get C++ test fixed. It's not clear if this commit will build though... apache#6202

Replaced snake_case with camelCase to try to get c++ format to pass the build. apache#6202

Adding random name to subscription to see if that resolves the fact that this test only fails on the second subsequent run. apache#6202

Fixed timeout issues. apache#6202

Attempting fix of testPerTopicStats() by addressing race condition. apache#6202

Adding some debugging to help troubleshoot flaky test. apache#6202

Removing code that wasn't building anyway. apache#6202

Changed how we're testing Prometheus by filtering the topic name to fix race conditions between test runs and sharing broker state. apache#6202

Added more debugging information and fixed assertion apache#6202

Trigger new build apache#6202

Added long timeouts to ensure that broker tests do timeout instead of hanging but without timing out too soon apache#6202

Fixed imports for TimeUnit apache#6202

Fixed imports for TimeUnit apache#6202

Pushing changes to allow discussion on what's happening. apache#6202

Fixed timeouts for the testSharedSingleAckedPartitionedTopic() test. apache#6202

Fixed issue with Prometheus test. apache#6202

Can't use receive with timeout, if the queue size is 0. Fixed InterceptorsTest. apache#6202

Can't use receive with timeout, if the queue size is 0. apache#6202

Fixed Can't use receive with timeout, if the queue size is 0. apache#6202

Edited comment to trigger re-run of all tests to find more flaky tests. apache#6202

Fixed more of the concurrency issue in testPerTopicStats that was causing namespace conflicts. apache#6202

Fixed something I missed during rebasing. apache#6202

Fixed issues with Prometheus tests. apache#6256

Changed MessageId.latest to MessageId.earliest to fix apache#6224

Fixes issue apache#6352

Triggering build to inspect test results. apache#6202

Added timeouts to fix hanging tests. apache#6202

Triggering new build. apache#6202

Updating Github workflow to build surefire artifacts if previous step was cancelled, not just failed. apache#6202

Changing CI Unit Action to always build surefire artifacts to help with debugging hanging test. apache#6202

Triggering new build with arbitrary edit. apache#6202

Triggering build with arbitrary change to comment apache#6202

Triggering new build with arbitrary code change. apache#6202

Triggering new build with arbitrary code change. apache#6202

Changing surefire trigger back to failure() apache#6202

Added surefire artifacts to run always again. apache#6202

Triggering new build. apache#6202

Added condition to make testPartitions() more robust during repeated runs apache#6202

Implementing Sijie's suggestion about timeout for persistentTopicsCursorResetAfterReset(..) test. apache#6202

Fixed file that I forgot to merge. apache#6202

Increased robustness of testPartitions() for repeated execution. apache#6202

Added more debugging to ParserProxyHandler's channelRead, changed test from private to public, and decreased test noise. apache#6332

Trying to get more debug info apache#6332

Added more debugging log statements to try to pinpoint where the failure happens. apache#6332

Added more debugging log statements to try to pinpoint where the failure happens. apache#6332

Added even more debugging for tracing purposes. apache#6332

Added even more debugging for tracing purposes. apache#6332

Rolling back unnecessary changes. apache#6202

Rolling back unnecessary changes. apache#6202

Fixed issue with testDeadLetterTopic() where redelivery was getting triggered. apache#6202

Adding more debug information and methods to test hypothesis. apache#6332

Adding keepAlive to ServerConnection to see what that does. apache#6332

Increasing ProxyServer keepAliveInterval to 90 seconds in case it is timing out during server tests. apache#6332

Rolling back changes. apache#6332
merlimat added a commit to merlimat/pulsar that referenced this pull request Apr 4, 2020
merlimat pushed a commit to merlimat/pulsar that referenced this pull request Apr 4, 2020
The two failures for this have been fixed by:
- 8df1f9c Do not use timed receive in
  BrokerClientIntegrationTest.testUnsupportedBatchMessageConsumer (apache#5333)
- f141efa Make unit tests to only use dynamically allocated
  ports (apache#5486)
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
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.

None yet

5 participants