Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improve][test] Improve AdminApi2Test to reduce the execution time #17975

Merged
merged 2 commits into from
Oct 10, 2022

Conversation

coderzc
Copy link
Member

@coderzc coderzc commented Oct 9, 2022

Fixes #17642

Modifications

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

Execution time after improve test:

Tests run: 76, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 399.717 s - in org.apache.pulsar.broker.admin.AdminApi2Test

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

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

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: coderzc#9

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Oct 9, 2022
@coderzc
Copy link
Member Author

coderzc commented Oct 10, 2022

/pulsarbot run-failure-checks

@Technoboy- Technoboy- merged commit db68648 into apache:master Oct 10, 2022
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.

slowly-test: org.apache.pulsar.broker.admin.AdminApi2Test
4 participants