mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-27 15:39:49 +00:00
test: run without shield integration
Original commit: elastic/x-pack-elasticsearch@dea9889523
This commit is contained in:
parent
5e57389c11
commit
17bc9442e1
@ -49,6 +49,11 @@ public class HttpInputIntegrationTest extends AbstractWatcherIntegrationTests {
|
||||
.build();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean enableShield() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testHttpInput() throws Exception {
|
||||
ScriptServiceProxy sc = scriptService();
|
||||
@ -139,7 +144,6 @@ public class HttpInputIntegrationTest extends AbstractWatcherIntegrationTests {
|
||||
assertThat(payload.size(), equalTo(1));
|
||||
assertThat(((Map) payload.get("hits")).size(), equalTo(1));
|
||||
assertThat((Integer) ((Map) payload.get("hits")).get("total"), equalTo(1));
|
||||
System.out.println(searchResponse);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user