Skip to content

[improve][test] Improve AdminApiTest to reduce the execution time - #17980

Merged
codelipenghui merged 2 commits into
apache:masterfrom
coderzc:slow/AdminApiTest
Oct 13, 2022
Merged

[improve][test] Improve AdminApiTest to reduce the execution time#17980
codelipenghui merged 2 commits into
apache:masterfrom
coderzc:slow/AdminApiTest

Conversation

@coderzc

@coderzc coderzc commented Oct 10, 2022

Copy link
Copy Markdown
Member

Fixes:

Modifications

Only execution once setup/clean and clean tenants/namespaces/producer/consumer after the end of each test execution.

Execution time after improve test:

Tests run: 83, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 404.325 s - in org.apache.pulsar.broker.admin.AdminApiTest

Documentation

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

Matching PR in forked repository

PR in forked repository: coderzc#10

@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Oct 10, 2022
@codelipenghui

codelipenghui commented Oct 11, 2022

Copy link
Copy Markdown
Contributor

@coderzc Please help check the failed test of Broker Group 3, it looks like related to this change

@coderzc coderzc changed the title [improve][test] Improve AdminApi2Test to reduce the execution time [improve][test] Improve AdminApiTest to reduce the execution time Oct 11, 2022
@coderzc

coderzc commented Oct 11, 2022

Copy link
Copy Markdown
Member Author

@coderzc Please help check the failed test of Broker Group 3, it looks like related to this change

AdminApi2Test have two timeout test, this pr change is AdminApiTest, I try again once.

@coderzc

coderzc commented Oct 11, 2022

Copy link
Copy Markdown
Member Author

/pulsarbot run-failure-checks

@codelipenghui
codelipenghui merged commit e4d3c49 into apache:master Oct 13, 2022
liangyepianzhou pushed a commit that referenced this pull request Feb 25, 2023
liangyepianzhou added a commit that referenced this pull request Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/test doc-not-needed Your PR changes do not impact docs ready-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants