Unique repository names for rest tests

This commit is contained in:
Yannick Welsch 2015-10-26 21:02:25 +01:00
parent fcc2c19600
commit 5959058719
2 changed files with 13 additions and 13 deletions

View File

@ -21,25 +21,25 @@
- do:
snapshot.create_repository:
repository: repo1
repository: test_cat_repo_1
body:
type: fs
settings:
location: "repo1_loc"
location: "test_cat_repo_1_loc"
- do:
snapshot.create_repository:
repository: repo2
repository: test_cat_repo_2
body:
type: fs
settings:
location: "repo2_loc"
location: "test_cat_repo_2_loc"
- do:
cat.repositories: {}
- match:
$body: |
/^ repo1\s+ fs\s*\n
repo2\s+ fs\s*\n
/^ test_cat_repo_1\s+ fs\s*\n
test_cat_repo_2\s+ fs\s*\n
$/

View File

@ -2,7 +2,7 @@
"Help":
- do:
cat.snapshots:
repository: repo1
repository: test_cat_snapshots_1
help: true
- match:
@ -24,15 +24,15 @@
- do:
snapshot.create_repository:
repository: repo1
repository: test_cat_snapshots_1
body:
type: fs
settings:
location: "repo1_loc"
location: "test_cat_snapshots_1_loc"
- do:
cat.snapshots:
repository: repo1
repository: test_cat_snapshots_1
- match:
$body: |
@ -58,19 +58,19 @@
- do:
snapshot.create:
repository: repo1
repository: test_cat_snapshots_1
snapshot: snap1
wait_for_completion: true
- do:
snapshot.create:
repository: repo1
repository: test_cat_snapshots_1
snapshot: snap2
wait_for_completion: true
- do:
cat.snapshots:
repository: repo1
repository: test_cat_snapshots_1
- match:
$body: |