File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
test/framework/src/main/java/org/elasticsearch/test Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 36
36
import java .io .IOException ;
37
37
import java .net .InetSocketAddress ;
38
38
import java .util .ArrayList ;
39
+ import java .util .Objects ;
39
40
import java .util .Random ;
40
41
import java .util .Set ;
41
42
@@ -91,7 +92,7 @@ public void wipe(Set<String> excludeTemplates) {
91
92
l .delegateResponse ((ll , e ) -> {
92
93
// Ignore if action isn't registered, because data streams is a module and
93
94
// if the delete action isn't registered then there no data streams to delete.
94
- if (e .getMessage ().startsWith ("failed to find action" ) == false ) {
95
+ if (Objects . requireNonNullElse ( e .getMessage (), "" ).startsWith ("failed to find action" ) == false ) {
95
96
ll .onFailure (e );
96
97
} else {
97
98
ll .onResponse (AcknowledgedResponse .TRUE );
You can’t perform that action at this time.
0 commit comments