Exemple #1
0
 def setUp(self):
     super(TestRunWsgiApp, self).setUp()
     self.worker_count = service._get_worker_count()
Exemple #2
0
 def setUp(self):
     super(TestRunRpcWorkers, self).setUp()
     self.worker_count = service._get_worker_count()
Exemple #3
0
 def test_get_workers(self):
     num_workers = service._get_worker_count()
     self.assertGreaterEqual(num_workers, 1)
     self.assertLessEqual(num_workers, processutils.get_worker_count())
Exemple #4
0
 def setUp(self):
     super(TestRunWsgiApp, self).setUp()
     self.worker_count = service._get_worker_count()
Exemple #5
0
 def setUp(self):
     super(TestRunRpcWorkers, self).setUp()
     self.worker_count = service._get_worker_count()
Exemple #6
0
 def test_get_workers(self):
     num_workers = service._get_worker_count()
     self.assertGreaterEqual(num_workers, 1)
     self.assertLessEqual(num_workers, processutils.get_worker_count())