File: skip-deadlocking-tests.patch

package info (click to toggle)
libcloud 3.8.0%2Brepack-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,704 kB
  • sloc: python: 158,354; xml: 19,482; sh: 27; makefile: 11
file content (18 lines) | stat: -rw-r--r-- 944 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Index: libcloud/libcloud/test/common/test_google.py
===================================================================
--- libcloud.orig/libcloud/test/common/test_google.py
+++ libcloud/libcloud/test/common/test_google.py
@@ -288,11 +288,13 @@ class GoogleInstalledAppAuthConnectionFi
         # running multiple tests in parallel
         self.conn.redirect_uri_port = random.randint(5000, 20000)
 
+    @unittest.skip("this test deadlocks")
     def test_it_receives_the_code_that_google_sends_via_local_loopback(self):
         expected_code = "1234ABC"
         received_code = self._do_first_sign_in(expected_code=expected_code, state=self.conn._state)
         self.assertEqual(received_code, expected_code)
 
+    @unittest.skip("this test deadlocks")
     def test_it_aborts_if_state_is_suspicious(self):
         received_code = self._do_first_sign_in(
             expected_code="1234ABC", state=self.conn._state + "very suspicious"