Skip to content

Commit

Permalink
Change default scope to TEST
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Kale <kalsac@amazon.com>
  • Loading branch information
Sachin Kale committed Sep 1, 2023
1 parent b7534f5 commit 55bd2ac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1789,7 +1789,7 @@ public enum Scope {
/**
* Returns the scope. {@link OpenSearchIntegTestCase.Scope#SUITE} is default.
*/
Scope scope() default Scope.SUITE;
Scope scope() default Scope.TEST;

/**
* Returns the number of nodes in the cluster. Default is {@code -1} which means
Expand Down Expand Up @@ -1899,7 +1899,7 @@ private Scope getCurrentClusterScope() {
private static Scope getCurrentClusterScope(Class<?> clazz) {
ClusterScope annotation = getAnnotation(clazz, ClusterScope.class);
// if we are not annotated assume suite!
return annotation == null ? Scope.SUITE : annotation.scope();
return annotation == null ? Scope.TEST : annotation.scope();
}

private boolean getSupportsDedicatedClusterManagers() {
Expand Down

0 comments on commit 55bd2ac

Please sign in to comment.