Skip to content

Commit bd6942a

Browse files
committed
re-enable SmokeTestWatcherWithSecurityIT
relates to elastic#30777, elastic#35361, elastic#29877.
1 parent d07e61b commit bd6942a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

x-pack/qa/smoke-test-watcher-with-security/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherWithSecurityIT.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
package org.elasticsearch.smoketest;
77

88
import org.apache.http.util.EntityUtils;
9-
import org.apache.lucene.util.LuceneTestCase;
109
import org.elasticsearch.client.Request;
1110
import org.elasticsearch.client.Response;
1211
import org.elasticsearch.common.Strings;
@@ -32,7 +31,6 @@
3231
import static org.hamcrest.Matchers.hasEntry;
3332
import static org.hamcrest.Matchers.is;
3433

35-
@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/35361")
3634
public class SmokeTestWatcherWithSecurityIT extends ESRestTestCase {
3735

3836
private static final String TEST_ADMIN_USERNAME = "test_admin";
@@ -198,7 +196,6 @@ public void testSearchTransformHasPermissions() throws Exception {
198196
.endObject().endObject().endObject();
199197
builder.startObject("actions").startObject("index").startObject("index")
200198
.field("index", "my_test_index")
201-
.field("doc_type", "doc")
202199
.field("doc_id", "my-id")
203200
.endObject().endObject().endObject();
204201
builder.endObject();
@@ -229,7 +226,6 @@ public void testSearchTransformInsufficientPermissions() throws Exception {
229226
.endObject().endObject().endObject();
230227
builder.startObject("actions").startObject("index").startObject("index")
231228
.field("index", "my_test_index")
232-
.field("doc_type", "doc")
233229
.field("doc_id", "some-id")
234230
.endObject().endObject().endObject();
235231
builder.endObject();
@@ -250,7 +246,6 @@ public void testIndexActionHasPermissions() throws Exception {
250246
builder.startObject("input").startObject("simple").field("spam", "eggs").endObject().endObject();
251247
builder.startObject("actions").startObject("index").startObject("index")
252248
.field("index", "my_test_index")
253-
.field("doc_type", "doc")
254249
.field("doc_id", "my-id")
255250
.endObject().endObject().endObject();
256251
builder.endObject();
@@ -274,7 +269,6 @@ public void testIndexActionInsufficientPrivileges() throws Exception {
274269
builder.startObject("input").startObject("simple").field("spam", "eggs").endObject().endObject();
275270
builder.startObject("actions").startObject("index").startObject("index")
276271
.field("index", "index_not_allowed_to_read")
277-
.field("doc_type", "doc")
278272
.field("doc_id", "my-id")
279273
.endObject().endObject().endObject();
280274
builder.endObject();

0 commit comments

Comments
 (0)