Skip to content

Commit e687fd5

Browse files
authored
Re-enable token bwc tests (#42727)
This commit re-enables token bwc tests that run as part of the rolling upgrade tests. These tests were muted while #42651 was being backported.
1 parent d5061a1 commit e687fd5

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/TokenBackwardsCompatibilityIT.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
import org.apache.http.HttpHeaders;
99
import org.apache.http.HttpHost;
10-
import org.apache.lucene.util.LuceneTestCase.AwaitsFix;
1110
import org.elasticsearch.Version;
1211
import org.elasticsearch.client.Request;
1312
import org.elasticsearch.client.RequestOptions;
@@ -31,7 +30,6 @@
3130
import static org.elasticsearch.common.xcontent.XContentFactory.jsonBuilder;
3231
import static org.hamcrest.Matchers.equalTo;
3332

34-
@AwaitsFix(bugUrl = "need to backport #42651")
3533
public class TokenBackwardsCompatibilityIT extends AbstractUpgradeTestCase {
3634

3735
private Collection<RestClient> twoClients = null;

x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/50_token_auth.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
"Get the indexed token and use if to authenticate":
33
- skip:
44
features: headers
5-
version: " - 7.99.99"
6-
reason: "Need to backport PR #42651"
75

86
- do:
97
cluster.health:
@@ -61,8 +59,6 @@
6159
"Get the indexed refreshed access token and use if to authenticate":
6260
- skip:
6361
features: headers
64-
version: " - 7.99.99"
65-
reason: "Need to backport PR #42651"
6662

6763
- do:
6864
get:
@@ -115,8 +111,6 @@
115111
"Get the indexed refresh token and use it to get another access token and authenticate":
116112
- skip:
117113
features: headers
118-
version: " - 7.99.99"
119-
reason: "Need to backport PR #42651"
120114

121115
- do:
122116
get:

x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/50_token_auth.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
"Get the indexed token and use if to authenticate":
33
- skip:
44
features: headers
5-
version: " - 8.0.0"
6-
reason: "Need to backport PR #42651"
75

86
- do:
97
cluster.health:
@@ -51,8 +49,6 @@
5149
"Get the indexed refresh token and use if to get another access token and authenticate":
5250
- skip:
5351
features: headers
54-
version: " - 8.0.0"
55-
reason: "Need to backport PR #42651"
5652

5753
- do:
5854
get:

0 commit comments

Comments
 (0)