File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
qa/vagrant/src/main/java/org/elasticsearch/packaging/test Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 50
50
import static org .elasticsearch .packaging .util .ServerUtils .makeRequest ;
51
51
import static org .hamcrest .CoreMatchers .containsString ;
52
52
import static org .hamcrest .CoreMatchers .is ;
53
+ import static org .hamcrest .CoreMatchers .not ;
53
54
import static org .hamcrest .CoreMatchers .notNullValue ;
54
55
import static org .hamcrest .Matchers .isEmptyString ;
55
56
import static org .junit .Assume .assumeThat ;
@@ -293,7 +294,7 @@ public void test90SecurityCliPackaging() {
293
294
294
295
// Ensure that the exit code from the java command is passed back up through the shell script
295
296
result = sh .runIgnoreExitCode (bin .elasticsearchCertutil + " invalid-command" );
296
- assertThat (result .exitCode , is (64 ));
297
+ assertThat (result .exitCode , is (not ( 0 ) ));
297
298
assertThat (result .stdout , containsString ("Unknown command [invalid-command]" ));
298
299
};
299
300
Platforms .onLinux (action );
You can’t perform that action at this time.
0 commit comments