ops_manager_ui_drivers 2.3.2 → 2.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7efc5e78976f72956bfcd21997fcd9699c1f9750
|
4
|
+
data.tar.gz: cf3b30da38767aba181bcd3674cfa54b743f94ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57fbb6f95444ccb3b5698e2d20e985cd3a743fb716805a0aedb8da074dca571bb3ff16a2a31c49454017523caaf8a8661e8cfcdcc39006597d6801de8774e17d
|
7
|
+
data.tar.gz: d9a235b5380b4fef438c58a53c607437cca6b631b9e1c76a30df5fdda756bd348e1333de4788320614e3b23ba5dade44b562e13c4e00774c940f319418da72c5
|
@@ -22,15 +22,17 @@ module OpsManagerUiDrivers
|
|
22
22
|
save_form(validate: validate)
|
23
23
|
end
|
24
24
|
|
25
|
-
def
|
25
|
+
def set_vm_type_for_job(job_name, vm_type, validate: true)
|
26
26
|
open_form
|
27
27
|
browser.
|
28
|
-
find("select[name='product_resources_form[#{job_name}][
|
29
|
-
find("option[value='#{
|
28
|
+
find("select[name='product_resources_form[#{job_name}][vm_type_id]']").
|
29
|
+
find("option[value='#{vm_type}']").
|
30
30
|
select_option
|
31
31
|
save_form(validate: validate)
|
32
32
|
end
|
33
33
|
|
34
|
+
alias_method :set_instance_type_for_job, :set_vm_type_for_job
|
35
|
+
|
34
36
|
def set_disk_type_for_job(job_name, disk_type_id, validate: true)
|
35
37
|
open_form
|
36
38
|
browser.
|
@@ -34,7 +34,7 @@ module OpsManagerUiDrivers
|
|
34
34
|
blk.call
|
35
35
|
rescue EarlyFailException
|
36
36
|
raise
|
37
|
-
rescue RSpec::Expectations::ExpectationNotMetError,
|
37
|
+
rescue RSpec::Expectations::ExpectationNotMetError, RuntimeError => e
|
38
38
|
retries -= 1
|
39
39
|
Logger.debug "------- retries_left=#{retries}"
|
40
40
|
if retries > 0
|
@@ -50,7 +50,7 @@ module OpsManagerUiDrivers
|
|
50
50
|
blk.call
|
51
51
|
rescue EarlyFailException
|
52
52
|
raise
|
53
|
-
rescue RSpec::Expectations::ExpectationNotMetError,
|
53
|
+
rescue RSpec::Expectations::ExpectationNotMetError, RuntimeError => e
|
54
54
|
seconds_left = (end_time - Time.now).round
|
55
55
|
Logger.debug "------- seconds_left=#{seconds_left}"
|
56
56
|
if seconds_left > SLEEP_INTERVAL
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ops_manager_ui_drivers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pivotal, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|