[7.x] [esArchiver] drop support for --dir, use repo-relative paths instead (#101345) (#101676)

* [esArchiver] drop support for --dir, use repo-relative paths instead (#101345)

Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	test/api_integration/apis/suggestions/suggestions.js
#	test/functional/apps/discover/_large_string.ts
#	test/functional/apps/visualize/index.ts
#	x-pack/test/functional/apps/infra/feature_controls/logs_security.ts
#	x-pack/test/functional/apps/saved_objects_management/import_saved_objects_between_versions_6.x_7.x.ts
#	x-pack/test/functional/apps/upgrade_assistant/upgrade_assistant.ts

* convert references to `saved_objects/basic` archive

* adapt other `saved_objects/*` archives

* update management/saved_obejcts/relationships archives

* replace old monitoring setup() usage

* remove reference to `empty_kibana` archive

Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
Spencer 2021-06-08 19:45:04 -07:00 committed by GitHub
parent 81d67b3df9
commit bcdeccb39b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
729 changed files with 2608 additions and 1888 deletions

View file

@ -47,8 +47,12 @@ export default function ({ getService }) {
const esArchiver = getService('esArchiver');
describe('kibana stats api', () => {
before('make sure there are some saved objects', () => esArchiver.load('saved_objects/basic'));
after('cleanup saved objects changes', () => esArchiver.unload('saved_objects/basic'));
before('make sure there are some saved objects', () =>
esArchiver.load('test/api_integration/fixtures/es_archiver/saved_objects/basic')
);
after('cleanup saved objects changes', () =>
esArchiver.unload('test/api_integration/fixtures/es_archiver/saved_objects/basic')
);
describe('basic', () => {
it('should return the stats without cluster_uuid with no query string params', () => {