prof 0.34.0 → 0.34.1

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
  SHA1:
3
- metadata.gz: c4a1b793b56ae4352de44896acf4210260b8d5ee
4
- data.tar.gz: 3019c6143a77cedf430e1b2bfee18eb89eea390b
3
+ metadata.gz: 8c0aa1a3fab9ceba2ddf6c569a0b034b10141d45
4
+ data.tar.gz: 143df456d6006620d5569843b079e3d1e30dc35a
5
5
  SHA512:
6
- metadata.gz: b971f6bbb520e519c1ad6d36aca18a261e5b3990dc55cdff09ffda5cbfe094545e6afeaac0e9dc228f6288bafa84a0c1a2318f7460666f3262300ff5de2708d1
7
- data.tar.gz: 90322a1872d3855e8025be5dafa42cc6834c32fc66c266ef6ea6684946f9a5750f8a42dbb8822653872f6075b92f478d3b0c571e2ca60b15e0b3a942607a5a6f
6
+ metadata.gz: 863d976a83538fffca4779ae14ef6805c0c91ce7fe13b2a282a3cbe14f5d4767fb0fb07e132aae6420ce965a20ea3f411bd37725be85ac4648161c1244ea490b
7
+ data.tar.gz: b1fa9dafcf7825a9d49134ccaac068441d4f7fe04babcc80d3e0b637ca45cb59d407ba23def1daa1848880b045ab739d73476baaf23056e66dadb0c8c6359bee
@@ -146,6 +146,7 @@ module Prof
146
146
  service_instance = ServiceInstance.new
147
147
 
148
148
  hula_cloud_foundry.create_service_instance(service.name, service_instance.name, service.plan)
149
+ wait_for_service_state(service_instance, "create succeeded", "create failed")
149
150
  service_instance.name
150
151
  end
151
152
 
@@ -174,7 +175,7 @@ module Prof
174
175
  def wait_for_service_state(service_instance, expected_state, failure_state)
175
176
  Timeout::timeout(retry_timeout) do
176
177
  loop do
177
- status = hula_cloud_foundry.get_service_status(service_instance.name)
178
+ status = hula_cloud_foundry.get_service_status(service_instance.name, {:allow_failure => true})
178
179
  return if status.include? expected_state
179
180
  raise "Error #{failure_state} occured for service instance: #{service_instance.name}" if status.include? failure_state
180
181
  sleep retry_interval
@@ -9,5 +9,5 @@
9
9
  #
10
10
 
11
11
  module Prof
12
- VERSION = '0.34.0'
12
+ VERSION = '0.34.1'
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prof
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.34.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - CF London
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-11 00:00:00.000000000 Z
11
+ date: 2017-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem-release
@@ -98,16 +98,16 @@ dependencies:
98
98
  name: bosh_cli
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: 1.3215.3
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: 1.3215.3
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: capybara
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -212,14 +212,14 @@ dependencies:
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: 0.9.1
215
+ version: 0.9.2
216
216
  type: :runtime
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: 0.9.1
222
+ version: 0.9.2
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: net-ssh-gateway
225
225
  requirement: !ruby/object:Gem::Requirement