Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

[tests] Prevent test timeouts due to pulsar client hanging while shutdown #1731

Conversation

eolivelli
Copy link
Contributor

Motivation

Sometimes tests hang during teardown because the shutdown procedure of the broker is blocked in waiting for our PulsarClients to close.

Modifications

Wait for some time.

I have filed this issue upstream in Pulsar in order to have a better management of this problem
apache/pulsar#19579

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Documentation

Check the box below.

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)

@github-actions github-actions bot added the no-need-doc This pr does not need any document label Feb 21, 2023
@eolivelli
Copy link
Contributor Author

With this patch my CI is far more stable I suggest to merge in to KOP

@BewareMyPower BewareMyPower merged commit 37b1abe into streamnative:master Feb 22, 2023
eolivelli added a commit to eolivelli/kop that referenced this pull request Feb 28, 2023
…down (streamnative#1731)

### Motivation

Sometimes tests hang during teardown because the shutdown procedure of
the broker is blocked in waiting for our PulsarClients to close.

### Modifications

Wait for some time.

I have filed this issue upstream in Pulsar in order to have a better
management of this problem
apache/pulsar#19579
BewareMyPower pushed a commit that referenced this pull request Jul 17, 2023
…down (#1731)

### Motivation

Sometimes tests hang during teardown because the shutdown procedure of
the broker is blocked in waiting for our PulsarClients to close.

### Modifications

Wait for some time.

I have filed this issue upstream in Pulsar in order to have a better
management of this problem
apache/pulsar#19579

(cherry picked from commit 37b1abe)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants