Skip to content

Commit cc0731f

Browse files
committed
[API] Test Runner: adds source type snapshot to delete_snapshots wipe_cluster (8.x)
1 parent 5d10400 commit cc0731f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api-spec-testing/wipe_cluster_8.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def wipe_snapshots(client)
181181
break if repositories.empty?
182182

183183
repositories.each_key do |repository|
184-
if repositories[repository]['type'] == 'fs'
184+
if ['fs', 'source'].include? repositories[repository]['type']
185185
response = client.snapshot.get(repository: repository, snapshot: '_all', ignore_unavailable: true)
186186
response['snapshots'].each do |snapshot|
187187
if snapshot['state'] != 'SUCCESS'

0 commit comments

Comments
 (0)