Skip to content

Commit 5950655

Browse files
committed
Remove yaml test runner files in favor of shared ones
1 parent 6cff128 commit 5950655

File tree

12 files changed

+187
-1891
lines changed

12 files changed

+187
-1891
lines changed

api-spec-testing/test_file.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
require 'support/test_file/action'
19-
require 'support/test_file/test'
20-
require 'support/test_file/task_group'
18+
require_relative 'test_file/action'
19+
require_relative 'test_file/test'
20+
require_relative 'test_file/task_group'
2121

2222
module Elasticsearch
2323

@@ -115,8 +115,7 @@ def clear_data(client)
115115
# This method deletes indices, roles, datafeeds, etc.
116116
#
117117
# @since 6.2.0
118-
def prepare(client)
119-
clear_indices(client)
118+
def clear_data_xpack(client)
120119
clear_roles(client)
121120
clear_users(client)
122121
clear_privileges(client)
@@ -126,6 +125,7 @@ def prepare(client)
126125
clear_tasks(client)
127126
clear_machine_learning_indices(client)
128127
create_x_pack_rest_user(client)
128+
clear_data(client)
129129
end
130130

131131
private

elasticsearch-api/spec/support/test_file.rb

Lines changed: 0 additions & 207 deletions
This file was deleted.

elasticsearch-api/spec/support/test_file/action.rb

Lines changed: 0 additions & 130 deletions
This file was deleted.

0 commit comments

Comments
 (0)