[DRE-commits] [ruby-fog-rackspace] 01/02: disable more randomly failing tests
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sat Dec 24 07:07:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-fog-rackspace.
commit eba10f2334e5b6ef2a6b5475798cefbb00ef60ee
Author: Pirate Praveen <praveen at debian.org>
Date: Sat Dec 24 12:18:18 2016 +0530
disable more randomly failing tests
---
.../patches/disable-randomly-failing-tests.patch | 31 +++++++++++++++++++---
1 file changed, 28 insertions(+), 3 deletions(-)
diff --git a/debian/patches/disable-randomly-failing-tests.patch b/debian/patches/disable-randomly-failing-tests.patch
index f1612ae..be833a8 100644
--- a/debian/patches/disable-randomly-failing-tests.patch
+++ b/debian/patches/disable-randomly-failing-tests.patch
@@ -1,8 +1,6 @@
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842607
-Index: ruby-fog-rackspace/tests/rackspace/models/networking/virtual_interface_tests.rb
-===================================================================
---- ruby-fog-rackspace.orig/tests/rackspace/models/networking/virtual_interface_tests.rb
+--- a/tests/rackspace/models/networking/virtual_interface_tests.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-Shindo.tests('Fog::Rackspace::Networking | virtual_interface', ['rackspace']) do
@@ -38,3 +36,30 @@ Index: ruby-fog-rackspace/tests/rackspace/models/networking/virtual_interface_te
- end
-
-end
+--- a/tests/rackspace/models/networking/virtual_interfaces_tests.rb
++++ /dev/null
+@@ -1,24 +0,0 @@
+-Shindo.tests('Fog::Rackspace::Networking | virtual_interfaces', ['rackspace']) do
+- service = Fog::Rackspace::Networking.new
+-
+- options = {
+- :name => "fog_server_#{Time.now.to_i.to_s}",
+- :flavor_id => rackspace_test_flavor_id(service),
+- :image_id => rackspace_test_image_id(service)
+- }
+-
+- tests('virtual_interfaces') do
+- pending if Fog.mocking?
+- begin
+- @server = service.servers.create options
+- @server.wait_for { ready? }
+-
+- tests('#virtual_interfaces').succeeds do
+- @server.virtual_interfaces.all
+- end
+-
+- ensure
+- @server.destroy if @server
+- end
+- end
+-end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-fog-rackspace.git
More information about the Pkg-ruby-extras-commits
mailing list