Skip to content

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

Merged
Technoboy- merged 2 commits into
apache:masterfrom
coderzc:slow/AdminTest2
Oct 10, 2022
Merged

Technoboy- merged 2 commits into
apache:masterfrom
coderzc:slow/AdminTest2

Conversation

@coderzc

@coderzc coderzc commented Oct 9, 2022

Copy link
Copy Markdown
Member

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

coderzc commented Oct 10, 2022

Copy link
Copy Markdown
Member Author

/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