Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TEST] Check static test state after suite scoped cluster is shut down (
#21256) Checks on static test state are run by an @after method in ESTestCase. Suite-scoped tests in ESIntegTestCase only shut down in an @afterclass method, which executes after the @after method in ESTestCase. The suite-scoped cluster can thus still execute actions that will violate the checks in @after without those being caught. A subsequent test executing within the same JVM will fail these checks however when @after gets called for that test. This commit adds an explicit call to check the static test state after the suite-scoped cluster has been shut down.
- Loading branch information