File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
tests/Elasticsearch/Tests Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ private function getClient(): Client
59
59
->setHosts ([$ this ->host ])
60
60
->setLogger ($ this ->logger );
61
61
62
- if (getenv ('TEST_SUITE ' ) === 'xpack ' ) {
62
+ if (getenv ('TEST_SUITE ' ) === 'platinum ' ) {
63
63
$ client ->setSSLVerification (__DIR__ . '/../../../.ci/certs/ca.crt ' );
64
64
}
65
65
return $ client ->build ();
Original file line number Diff line number Diff line change @@ -107,21 +107,21 @@ public static function cleanUpCluster(Client $client): void
107
107
*/
108
108
private static function wipeCluster (Client $ client ): void
109
109
{
110
- if (getenv ('TEST_SUITE ' ) === 'xpack ' ) {
110
+ if (getenv ('TEST_SUITE ' ) === 'platinum ' ) {
111
111
self ::wipeRollupJobs ($ client );
112
112
self ::waitForPendingRollupTasks ($ client );
113
113
self ::deleteAllSLMPolicies ($ client );
114
114
}
115
115
116
116
self ::wipeSnapshots ($ client );
117
117
118
- if (getenv ('TEST_SUITE ' ) === 'xpack ' ) {
118
+ if (getenv ('TEST_SUITE ' ) === 'platinum ' ) {
119
119
self ::wipeDataStreams ($ client );
120
120
}
121
121
122
122
self ::wipeAllIndices ($ client );
123
123
124
- if (getenv ('TEST_SUITE ' ) === 'xpack ' ) {
124
+ if (getenv ('TEST_SUITE ' ) === 'platinum ' ) {
125
125
self ::wipeTemplateForXpack ($ client );
126
126
} else {
127
127
// Delete templates
@@ -140,7 +140,7 @@ private static function wipeCluster(Client $client): void
140
140
141
141
self ::wipeClusterSettings ($ client );
142
142
143
- if (getenv ('TEST_SUITE ' ) === 'xpack ' ) {
143
+ if (getenv ('TEST_SUITE ' ) === 'platinum ' ) {
144
144
self ::deleteAllILMPolicies ($ client );
145
145
self ::deleteAllAutoFollowPatterns ($ client );
146
146
self ::deleteAllTasks ($ client );
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ public static function getHost(): string
158
158
{
159
159
$ host = Utility::getHost ();
160
160
if (null == $ host ) {
161
- echo 'Environment variable TEST_SUITE (oss, xpack ) not defined. ' ;
161
+ echo 'Environment variable TEST_SUITE (free, platinum ) not defined. ' ;
162
162
exit ;
163
163
}
164
164
return $ host ;
@@ -1147,7 +1147,7 @@ private function clean()
1147
1147
'name ' => '* '
1148
1148
]);
1149
1149
1150
- if (getenv ('TEST_SUITE ' ) === 'xpack ' ) {
1150
+ if (getenv ('TEST_SUITE ' ) === 'platinum ' ) {
1151
1151
# Get all roles
1152
1152
$ roles = $ this ->client ->security ()->getRole ();
1153
1153
# Delete custom roles (metadata._reserved = 0)
You can’t perform that action at this time.
0 commit comments