kitchen-ec2 3.3.0 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1132f5a8bcb58e6a8c4d38ad342ac2e38afeabbd51abf63b6980a6b4c9474339
4
- data.tar.gz: 876fb813038936051338a3be5682fc6633b420aa6faa201b3156879bc9f29430
3
+ metadata.gz: d030685e23e784c93fd5e8c7f76702a4a90f907925a2a67750827ea6457af94f
4
+ data.tar.gz: 5268e3ecbfb386c0a62a1f9f6e2867685e3e5d21376d490a1f5408f20d19db96
5
5
  SHA512:
6
- metadata.gz: ae1058987c9efd9e8b7e0f2e0fa152b0a7cefb297d82fb6ab50cc77e1ee84f59e7b9a7fb54b391e9a3b35ae3ee7f3ef704ab6edd7e8fb908c1abe90870cc2c3d
7
- data.tar.gz: 5fd929e0e1752d3b7cd1ff5b1e83383be321c95569bc00fee8ab9ad19539e815a3a1d9f692c516550cf5d4da5f667e500bc2ea8d64704a0fc337152fe34744df
6
+ metadata.gz: 71cd818f465de9cf145592c6110481a8544e45a3e37c105149b122bc921a7d8ae2e11cd8b68816db453a2b4c969b87f1115d32b4e00624c5c3dee6f06cd47de7
7
+ data.tar.gz: 30021e46d8151aa712224f810ea986ce28cabeffe65baeba885e5b86e261a38417775978b44d9b5cad08d2107b2be8a57e3cd8c23238cba9bc0fb3dbd48082ae
@@ -291,7 +291,11 @@ module Kitchen
291
291
  server = ec2.get_instance(state[:server_id])
292
292
  unless server.nil?
293
293
  instance.transport.connection(state).close
294
- server.terminate
294
+ begin
295
+ server.terminate
296
+ rescue ::Aws::EC2::Errors::InvalidInstanceIDNotFound => e
297
+ warn("Received #{e}, instance was probably already destroyed. Ignoring")
298
+ end
295
299
  end
296
300
  if state[:spot_request_id]
297
301
  debug("Deleting spot request <#{state[:server_id]}>")
@@ -22,6 +22,6 @@ module Kitchen
22
22
  module Driver
23
23
 
24
24
  # Version string for EC2 Test Kitchen driver
25
- EC2_VERSION = "3.3.0".freeze
25
+ EC2_VERSION = "3.4.0".freeze
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fletcher Nichol
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-15 00:00:00.000000000 Z
11
+ date: 2020-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen
@@ -168,14 +168,14 @@ dependencies:
168
168
  requirements:
169
169
  - - '='
170
170
  - !ruby/object:Gem::Version
171
- version: 0.14.0
171
+ version: 0.14.1
172
172
  type: :development
173
173
  prerelease: false
174
174
  version_requirements: !ruby/object:Gem::Requirement
175
175
  requirements:
176
176
  - - '='
177
177
  - !ruby/object:Gem::Version
178
- version: 0.14.0
178
+ version: 0.14.1
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: climate_control
181
181
  requirement: !ruby/object:Gem::Requirement
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
231
  - !ruby/object:Gem::Version
232
232
  version: '0'
233
233
  requirements: []
234
- rubygems_version: 3.0.3
234
+ rubygems_version: 3.1.2
235
235
  signing_key:
236
236
  specification_version: 4
237
237
  summary: A Test Kitchen Driver for Amazon EC2