Skip to content

Conversation

@gaozhangmin
Copy link
Contributor

Fixes #14107

Motivation

Fixes #14107

Modifications

Wait until ZK server started.

Documentation

Check the box below or label this PR directly (if you have committer privilege).

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@gaozhangmin gaozhangmin changed the title fix flaky test [Flaky-test] org.apache.pulsar.metadata.ZKSessionTest#testSessionLost Feb 9, 2022
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Feb 9, 2022
@merlimat merlimat added this to the 2.10.0 milestone Feb 9, 2022
@merlimat merlimat merged commit 6393d4b into apache:master Feb 9, 2022
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Apr 20, 2022
Co-authored-by: gavingaozhangmin <gavingaozhangmin@didiglobal.com>
Comment on lines +90 to +91
boolean zkServerReady = zks.waitForServerUp(zks.getConnectionString(), 30_000);
assertTrue(zkServerReady);
Copy link
Member

Choose a reason for hiding this comment

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

These lines don't help because it's already included in zks.start.

I suspect that it's the CI overwhelmed to be blamed that we can hardly setup a proper timeout.

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

Labels

doc-not-needed Your PR changes do not impact docs type/flaky-tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky-test: ZKSessionTest.testSessionLost

3 participants