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
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 ();
Original file line number Diff line number Diff 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 );
Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments