Skip to content

[Tests] Enable test retries for integration tests, shade tests and backwards compat tests - #10191

Merged
codelipenghui merged 1 commit into
apache:masterfrom
lhotari:lh-integration-test-retries
Apr 13, 2021
Merged

[Tests] Enable test retries for integration tests, shade tests and backwards compat tests#10191
codelipenghui merged 1 commit into
apache:masterfrom
lhotari:lh-integration-test-retries

Conversation

@lhotari

@lhotari lhotari commented Apr 12, 2021

Copy link
Copy Markdown
Member

Motivation

Some integration tests fail often and retrying all integration tests is slow.

Modifications

Enable the test retries at TestNG level also for integration tests.
When a Pulsar broker url is passed as a parameter to a test method, it's necessary to use a Supplier<String> parameter so that the value gets evaluated again for test retries.

@lhotari lhotari changed the title Enable test retries for integration tests, shade tests and backwards compat tests [Tests] Enable test retries for integration tests, shade tests and backwards compat tests Apr 12, 2021

@eolivelli eolivelli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lhotari

lhotari commented Apr 13, 2021

Copy link
Copy Markdown
Member Author

/pulsarbot run-failure-checks

@codelipenghui codelipenghui added this to the 2.8.0 milestone Apr 13, 2021
@codelipenghui
codelipenghui merged commit d1305c1 into apache:master Apr 13, 2021
lhotari added a commit to lhotari/pulsar that referenced this pull request Apr 13, 2021
lhotari added a commit to lhotari/pulsar that referenced this pull request Apr 15, 2021
merlimat pushed a commit that referenced this pull request Apr 16, 2021
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.

3 participants