-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
>testIssues or PRs that are addressing/adding testsIssues or PRs that are addressing/adding tests
Description
Today we run our unittests against an internal cluster but we already have support for ImmutableCluster that is used by tests that done't need to modify the cluster. Yet, those tests can easily run against an external cluster. as a first simple step we can just use some Junit magic to make this work ie. we add support for an annotation like @NeedsJVMLocalCluster or @NeedsMutableCluster and given the cluster we use to run the tests we can just exclude those tests.
A pure external cluster can then run on all tests that don't have either of these annotations. In a second step we can add a MutableExternalCluster impl that can start external processes and tear them down as needed given the test is not annotated with @NeedsJVMLocalCluster
Metadata
Metadata
Assignees
Labels
>testIssues or PRs that are addressing/adding testsIssues or PRs that are addressing/adding tests