test_ipc_daemon: increase sleep for bug #436334
authorZac Medico <zmedico@gentoo.org>
Wed, 26 Sep 2012 18:22:15 +0000 (11:22 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 26 Sep 2012 18:22:15 +0000 (11:22 -0700)
pym/portage/tests/ebuild/test_ipc_daemon.py

index 0efab6584a991c423b5569f44a020ef56d832a66..fc14671ba473d46e3bd67878ea02f11a005eafec 100644 (file)
@@ -92,7 +92,9 @@ class IpcDaemonTestCase(TestCase):
                                self.assertEqual(exit_command.exitcode, exitcode)
 
                        # Intentionally short timeout test for QueueScheduler.run()
-                       sleep_time_s = 10      # 10.000 seconds
+                       # Use a ridiculously long sleep_time_s in case the user's
+                       # system is heavily loaded (see bug #436334).
+                       sleep_time_s = 600     #600.000 seconds
                        short_timeout_ms = 10  #  0.010 seconds
 
                        for i in range(3):