Skip to content

HDDS-9801. Increase the timeout in TestPipelineClose#testPipelineCloseWithPipelineAction.#5702

Merged
nandakumar131 merged 1 commit intoapache:masterfrom
nandakumar131:HDDS-9801
Nov 29, 2023
Merged

HDDS-9801. Increase the timeout in TestPipelineClose#testPipelineCloseWithPipelineAction.#5702
nandakumar131 merged 1 commit intoapache:masterfrom
nandakumar131:HDDS-9801

Conversation

@nandakumar131
Copy link
Copy Markdown
Contributor

@nandakumar131 nandakumar131 commented Nov 29, 2023

What changes were proposed in this pull request?

TheTestPipelineClose#testPipelineCloseWithPipelineAction only waits for 5 seconds before it timeout and fails.
The ozone.scm.pipeline.destroy.timeout is set to 5 seconds in the test. So, SCM will send close pipeline command to Datanode only after 5 seconds and the datanode is not getting enough time to remove the pipeline.

It's good to increase the max wait time in test to at least 10 seconds.

What is the link to the Apache JIRA

HDDS-9801

How was this patch tested?

Executed the test multiple times in local to make sure that the test consistently passes.

Copy link
Copy Markdown
Contributor

@sodonnel sodonnel left a comment

Choose a reason for hiding this comment

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

LGTM - lets commit if CI is green as this problem is breaking most other CI runs.

@adoroszlai
Copy link
Copy Markdown
Contributor

Failed in 139/250 runs for 2cbb0e6 (HDDS-9479).

Passed in 250/250 runs for 28fa30c (the commit before HDDS-9479).

Runs with the fix from this PR are still in progress.

@nandakumar131 nandakumar131 merged commit d834978 into apache:master Nov 29, 2023
@nandakumar131 nandakumar131 deleted the HDDS-9801 branch November 29, 2023 19:11
@adoroszlai
Copy link
Copy Markdown
Contributor

Passed 500/500 with the fix.

@nandakumar131
Copy link
Copy Markdown
Contributor Author

Thanks @adoroszlai for testing this.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants