add test for listing

This commit is contained in:
Robert Muir 2015-12-21 17:25:15 -05:00
parent 5ebcf183e5
commit 7065639a26
1 changed files with 10 additions and 0 deletions
plugins/repository-hdfs/src/test/resources/rest-api-spec/test/hdfs_repository

View File

@ -46,6 +46,16 @@
repository: test_snapshot_get_repository
snapshot: test_snapshot_get
- length: { snapshots: 1 }
- match: { snapshots.0.snapshot : test_snapshot_get }
# List snapshot info
- do:
snapshot.get:
repository: test_snapshot_get_repository
snapshot: "*"
- length: { snapshots: 1 }
- match: { snapshots.0.snapshot : test_snapshot_get }
# Remove our snapshot