mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Unique repository names for rest tests
This commit is contained in:
parent
fcc2c19600
commit
5959058719
@ -21,25 +21,25 @@
|
|||||||
|
|
||||||
- do:
|
- do:
|
||||||
snapshot.create_repository:
|
snapshot.create_repository:
|
||||||
repository: repo1
|
repository: test_cat_repo_1
|
||||||
body:
|
body:
|
||||||
type: fs
|
type: fs
|
||||||
settings:
|
settings:
|
||||||
location: "repo1_loc"
|
location: "test_cat_repo_1_loc"
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
snapshot.create_repository:
|
snapshot.create_repository:
|
||||||
repository: repo2
|
repository: test_cat_repo_2
|
||||||
body:
|
body:
|
||||||
type: fs
|
type: fs
|
||||||
settings:
|
settings:
|
||||||
location: "repo2_loc"
|
location: "test_cat_repo_2_loc"
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
cat.repositories: {}
|
cat.repositories: {}
|
||||||
|
|
||||||
- match:
|
- match:
|
||||||
$body: |
|
$body: |
|
||||||
/^ repo1\s+ fs\s*\n
|
/^ test_cat_repo_1\s+ fs\s*\n
|
||||||
repo2\s+ fs\s*\n
|
test_cat_repo_2\s+ fs\s*\n
|
||||||
$/
|
$/
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"Help":
|
"Help":
|
||||||
- do:
|
- do:
|
||||||
cat.snapshots:
|
cat.snapshots:
|
||||||
repository: repo1
|
repository: test_cat_snapshots_1
|
||||||
help: true
|
help: true
|
||||||
|
|
||||||
- match:
|
- match:
|
||||||
@ -24,15 +24,15 @@
|
|||||||
|
|
||||||
- do:
|
- do:
|
||||||
snapshot.create_repository:
|
snapshot.create_repository:
|
||||||
repository: repo1
|
repository: test_cat_snapshots_1
|
||||||
body:
|
body:
|
||||||
type: fs
|
type: fs
|
||||||
settings:
|
settings:
|
||||||
location: "repo1_loc"
|
location: "test_cat_snapshots_1_loc"
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
cat.snapshots:
|
cat.snapshots:
|
||||||
repository: repo1
|
repository: test_cat_snapshots_1
|
||||||
|
|
||||||
- match:
|
- match:
|
||||||
$body: |
|
$body: |
|
||||||
@ -58,19 +58,19 @@
|
|||||||
|
|
||||||
- do:
|
- do:
|
||||||
snapshot.create:
|
snapshot.create:
|
||||||
repository: repo1
|
repository: test_cat_snapshots_1
|
||||||
snapshot: snap1
|
snapshot: snap1
|
||||||
wait_for_completion: true
|
wait_for_completion: true
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
snapshot.create:
|
snapshot.create:
|
||||||
repository: repo1
|
repository: test_cat_snapshots_1
|
||||||
snapshot: snap2
|
snapshot: snap2
|
||||||
wait_for_completion: true
|
wait_for_completion: true
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
cat.snapshots:
|
cat.snapshots:
|
||||||
repository: repo1
|
repository: test_cat_snapshots_1
|
||||||
|
|
||||||
- match:
|
- match:
|
||||||
$body: |
|
$body: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user