Skip to content

Commit 9458f55

Browse files
committed
Removed the latest xpack,oss TEST_SUITE
1 parent facea33 commit 9458f55

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

tests/Elasticsearch/Tests/ClientIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ private function getClient(): Client
5959
->setHosts([$this->host])
6060
->setLogger($this->logger);
6161

62-
if (getenv('TEST_SUITE') === 'xpack') {
62+
if (getenv('TEST_SUITE') === 'platinum') {
6363
$client->setSSLVerification(__DIR__ . '/../../../.ci/certs/ca.crt');
6464
}
6565
return $client->build();

tests/Elasticsearch/Tests/Utility.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,21 +107,21 @@ public static function cleanUpCluster(Client $client): void
107107
*/
108108
private static function wipeCluster(Client $client): void
109109
{
110-
if (getenv('TEST_SUITE') === 'xpack') {
110+
if (getenv('TEST_SUITE') === 'platinum') {
111111
self::wipeRollupJobs($client);
112112
self::waitForPendingRollupTasks($client);
113113
self::deleteAllSLMPolicies($client);
114114
}
115115

116116
self::wipeSnapshots($client);
117117

118-
if (getenv('TEST_SUITE') === 'xpack') {
118+
if (getenv('TEST_SUITE') === 'platinum') {
119119
self::wipeDataStreams($client);
120120
}
121121

122122
self::wipeAllIndices($client);
123123

124-
if (getenv('TEST_SUITE') === 'xpack') {
124+
if (getenv('TEST_SUITE') === 'platinum') {
125125
self::wipeTemplateForXpack($client);
126126
} else {
127127
// Delete templates
@@ -140,7 +140,7 @@ private static function wipeCluster(Client $client): void
140140

141141
self::wipeClusterSettings($client);
142142

143-
if (getenv('TEST_SUITE') === 'xpack') {
143+
if (getenv('TEST_SUITE') === 'platinum') {
144144
self::deleteAllILMPolicies($client);
145145
self::deleteAllAutoFollowPatterns($client);
146146
self::deleteAllTasks($client);

tests/Elasticsearch/Tests/YamlRunnerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public static function getHost(): string
158158
{
159159
$host = Utility::getHost();
160160
if (null == $host) {
161-
echo 'Environment variable TEST_SUITE (oss, xpack) not defined.';
161+
echo 'Environment variable TEST_SUITE (free, platinum) not defined.';
162162
exit;
163163
}
164164
return $host;
@@ -1147,7 +1147,7 @@ private function clean()
11471147
'name' => '*'
11481148
]);
11491149

1150-
if (getenv('TEST_SUITE') === 'xpack') {
1150+
if (getenv('TEST_SUITE') === 'platinum') {
11511151
# Get all roles
11521152
$roles = $this->client->security()->getRole();
11531153
# Delete custom roles (metadata._reserved = 0)

0 commit comments

Comments
 (0)