We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 965bb01 commit d92e994Copy full SHA for d92e994
1 file changed
integ-test/src/test/java/org/opensearch/sql/legacy/SQLIntegTestCase.java
@@ -139,6 +139,11 @@ public static void dumpCoverage() {
139
*/
140
@AfterClass
141
public static void cleanUpIndices() throws IOException {
142
+ // No client when every test in the class was skipped (e.g. @RequiresCapability on the AE
143
+ // route).
144
+ if (client() == null) {
145
+ return;
146
+ }
147
if (System.getProperty("tests.rest.bwcsuite") == null) {
148
wipeAllOpenSearchIndices();
149
wipeAllClusterSettings();
0 commit comments