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: - 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
$/ $/

View File

@ -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: |