torpedo 1.0.17 → 1.0.18
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/torpedo/compute/servers.rb +11 -3
- metadata +84 -97
data/CHANGELOG
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.18
|
@@ -13,6 +13,7 @@ class Servers < Test::Unit::TestCase
|
|
13
13
|
@@flavor_ref_resize = nil
|
14
14
|
@@server = nil #ref to last created server
|
15
15
|
@@hostname = "torpedo"
|
16
|
+
@@host_id = nil
|
16
17
|
|
17
18
|
def setup
|
18
19
|
@conn=Helper::get_connection
|
@@ -22,7 +23,6 @@ class Servers < Test::Unit::TestCase
|
|
22
23
|
@@server = @conn.create_server(server_opts)
|
23
24
|
@@servers << @@server
|
24
25
|
@@admin_pass = @@server.adminPass #original admin_pass
|
25
|
-
@@host_id = @@server.hostId #original host ID
|
26
26
|
@@server
|
27
27
|
end
|
28
28
|
|
@@ -321,6 +321,10 @@ class Servers < Test::Unit::TestCase
|
|
321
321
|
|
322
322
|
def test_040_resize_revert
|
323
323
|
|
324
|
+
# before resizing obtain host_id
|
325
|
+
server = @conn.server(@@server.id)
|
326
|
+
@@host_id = server.hostId #original host ID
|
327
|
+
|
324
328
|
@@server.resize!(@@flavor_ref_resize)
|
325
329
|
server = @conn.server(@@server.id)
|
326
330
|
assert_equal('RESIZE', server.status)
|
@@ -355,12 +359,16 @@ class Servers < Test::Unit::TestCase
|
|
355
359
|
end
|
356
360
|
|
357
361
|
check_server(server, @@image_ref, @@flavor_ref)
|
358
|
-
assert_equal(server.hostId
|
362
|
+
assert_equal(@@host_id, server.hostId)
|
359
363
|
|
360
364
|
end if TEST_REVERT_RESIZE_SERVER
|
361
365
|
|
362
366
|
def test_041_resize
|
363
367
|
|
368
|
+
# before resizing obtain host_id
|
369
|
+
server = @conn.server(@@server.id)
|
370
|
+
@@host_id = server.hostId #original host ID
|
371
|
+
|
364
372
|
@@server.resize!(@@flavor_ref_resize)
|
365
373
|
server = @conn.server(@@server.id)
|
366
374
|
assert_equal('RESIZE', server.status)
|
@@ -380,7 +388,7 @@ class Servers < Test::Unit::TestCase
|
|
380
388
|
end
|
381
389
|
|
382
390
|
check_server(server, @@image_ref, @@flavor_ref_resize, 'VERIFY_RESIZE')
|
383
|
-
assert_not_equal(server.hostId
|
391
|
+
assert_not_equal(@@host_id, server.hostId) if TEST_HOSTID_ON_RESIZE
|
384
392
|
|
385
393
|
end if TEST_RESIZE_SERVER
|
386
394
|
|
metadata
CHANGED
@@ -1,112 +1,105 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: torpedo
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.18
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 17
|
10
|
-
version: 1.0.17
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Dan Prince
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
requirement:
|
12
|
+
date: 2012-11-13 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bundler
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
22
17
|
none: false
|
23
|
-
requirements:
|
18
|
+
requirements:
|
24
19
|
- - ~>
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
hash: 23
|
27
|
-
segments:
|
28
|
-
- 1
|
29
|
-
- 0
|
30
|
-
- 0
|
20
|
+
- !ruby/object:Gem::Version
|
31
21
|
version: 1.0.0
|
32
|
-
version_requirements: *id001
|
33
|
-
name: bundler
|
34
|
-
prerelease: false
|
35
22
|
type: :development
|
36
|
-
|
37
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
25
|
none: false
|
39
|
-
requirements:
|
26
|
+
requirements:
|
40
27
|
- - ~>
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
|
43
|
-
|
44
|
-
- 1
|
45
|
-
- 6
|
46
|
-
- 4
|
47
|
-
version: 1.6.4
|
48
|
-
version_requirements: *id002
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.0.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
49
31
|
name: jeweler
|
50
|
-
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.6.4
|
51
38
|
type: :development
|
52
|
-
|
53
|
-
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
41
|
none: false
|
55
|
-
requirements:
|
42
|
+
requirements:
|
56
43
|
- - ~>
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
|
59
|
-
|
60
|
-
- 0
|
61
|
-
- 14
|
62
|
-
- 6
|
63
|
-
version: 0.14.6
|
64
|
-
version_requirements: *id003
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.6.4
|
46
|
+
- !ruby/object:Gem::Dependency
|
65
47
|
name: thor
|
66
|
-
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.14.6
|
67
54
|
type: :runtime
|
68
|
-
|
69
|
-
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
70
57
|
none: false
|
71
|
-
requirements:
|
58
|
+
requirements:
|
72
59
|
- - ~>
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
|
75
|
-
|
76
|
-
- 1
|
77
|
-
- 1
|
78
|
-
- 5
|
79
|
-
version: 1.1.5
|
80
|
-
version_requirements: *id004
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.14.6
|
62
|
+
- !ruby/object:Gem::Dependency
|
81
63
|
name: openstack-compute
|
82
|
-
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 1.1.5
|
83
70
|
type: :runtime
|
84
|
-
|
85
|
-
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
73
|
none: false
|
87
|
-
requirements:
|
74
|
+
requirements:
|
88
75
|
- - ~>
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
|
91
|
-
|
92
|
-
- 2
|
93
|
-
- 2
|
94
|
-
- 1
|
95
|
-
version: 2.2.1
|
96
|
-
version_requirements: *id005
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.1.5
|
78
|
+
- !ruby/object:Gem::Dependency
|
97
79
|
name: net-ssh
|
98
|
-
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 2.2.1
|
99
86
|
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 2.2.1
|
100
94
|
description: Fast integration tests OpenStack Compute.
|
101
95
|
email: dan.prince@rackspace.com
|
102
|
-
executables:
|
96
|
+
executables:
|
103
97
|
- torpedo
|
104
98
|
extensions: []
|
105
|
-
|
106
|
-
extra_rdoc_files:
|
99
|
+
extra_rdoc_files:
|
107
100
|
- LICENSE.txt
|
108
101
|
- README.md
|
109
|
-
files:
|
102
|
+
files:
|
110
103
|
- .document
|
111
104
|
- CHANGELOG
|
112
105
|
- Gemfile
|
@@ -126,37 +119,31 @@ files:
|
|
126
119
|
- test/helper.rb
|
127
120
|
- torpedo.gemspec
|
128
121
|
homepage: http://github.com/dprince/torpedo
|
129
|
-
licenses:
|
122
|
+
licenses:
|
130
123
|
- MIT
|
131
124
|
post_install_message:
|
132
125
|
rdoc_options: []
|
133
|
-
|
134
|
-
require_paths:
|
126
|
+
require_paths:
|
135
127
|
- lib
|
136
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
137
129
|
none: false
|
138
|
-
requirements:
|
139
|
-
- -
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
|
142
|
-
segments:
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
segments:
|
143
135
|
- 0
|
144
|
-
|
145
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
|
+
hash: -3718277356387359406
|
137
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
138
|
none: false
|
147
|
-
requirements:
|
148
|
-
- -
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
|
151
|
-
segments:
|
152
|
-
- 0
|
153
|
-
version: "0"
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
154
143
|
requirements: []
|
155
|
-
|
156
144
|
rubyforge_project:
|
157
|
-
rubygems_version: 1.8.
|
145
|
+
rubygems_version: 1.8.24
|
158
146
|
signing_key:
|
159
147
|
specification_version: 3
|
160
148
|
summary: Fire when ready. Fast Ruby integration tests for OpenStack.
|
161
149
|
test_files: []
|
162
|
-
|