torpedo 1.0.18 → 1.0.19

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ * Thu Feb 14 2013 Dan Prince <dprince@redhat.com> - 1.0.19
2
+ -Added NETWORK_LABEL option. (defaults to 'public')
3
+
1
4
  * Mon Nov 12 2012 Dan Prince <dprince@redhat.com> - 1.0.18
2
5
  -Fixes to host_id validation on resize/resize_revert tests.
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.18
1
+ 1.0.19
data/lib/torpedo.rb CHANGED
@@ -8,6 +8,7 @@ TEST_SSH=configs.fetch('test_ssh', true)
8
8
  PING_TIMEOUT=(configs['ping_timeout'] || 60).to_i
9
9
  TEST_PING=configs.fetch('test_ping', true)
10
10
  SERVER_BUILD_TIMEOUT=(configs['server_build_timeout'] || 60).to_i
11
+ NETWORK_LABEL=(configs['network_label'] || 'public')
11
12
  SLEEP_AFTER_IMAGE_CREATE=(configs['sleep_after_image_create'] || 0).to_i
12
13
  SSH_PRIVATE_KEY=configs['ssh_private_key'] || ENV['HOME'] + "/.ssh/id_rsa"
13
14
  SSH_PUBLIC_KEY=configs['ssh_public_key'] || ENV['HOME'] + "/.ssh/id_rsa.pub"
@@ -119,7 +119,7 @@ class Servers < Test::Unit::TestCase
119
119
  end
120
120
 
121
121
  # lookup the first public IP address and use that for verification
122
- addresses = server.addresses[:public].select {|a| a.version == TEST_IP_TYPE}
122
+ addresses = server.addresses[NETWORK_LABEL.to_sym].select {|a| a.version == TEST_IP_TYPE}
123
123
  address = addresses[0].address
124
124
  ping_test(address) if TEST_PING
125
125
  if TEST_SSH
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torpedo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.18
4
+ version: 1.0.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-13 00:00:00.000000000 Z
12
+ date: 2013-02-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -133,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
133
  version: '0'
134
134
  segments:
135
135
  - 0
136
- hash: -3718277356387359406
136
+ hash: 1594191337397731643
137
137
  required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements: