You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: qa/restart-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/restart/AbstractRestartUpgradeRestTestCase.java
+10
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,16 @@ protected final Settings restClientSettings() {
53
53
.build();
54
54
}
55
55
56
+
@Override
57
+
protectedbooleanshouldCleanUpResources() {
58
+
// All NEW CLUSTER tests depend on resources created in OLD CLUSTER test cases
59
+
// Before NEW CLUSTER tests run, all OLD CLUSTER test cases will be run first
60
+
// We only want to clean up resources in NEW CLUSTER tests, also we don't want to clean up after each test case finishes
61
+
// this is because the cleanup method will pull every resource and delete, which will impact other tests
62
+
// Overriding the method in base class so that resources won't be accidentally clean up
Copy file name to clipboardexpand all lines: qa/rolling-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/rolling/AbstractRollingUpgradeTestCase.java
+10
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,16 @@ protected final Settings restClientSettings() {
56
56
.build();
57
57
}
58
58
59
+
@Override
60
+
protectedbooleanshouldCleanUpResources() {
61
+
// All UPGRADE tests depend on resources created in OLD and MIXED test cases
62
+
// Before UPGRADE tests run, all OLD and MIXED test cases will be run first
63
+
// We only want to clean up resources in upgrade tests, also we don't want to clean up after each test case finishes
64
+
// this is because the cleanup method will pull every resource and delete, which will impact other tests
65
+
// Overriding the method in base class so that resources won't be accidentally clean up
0 commit comments