Skip to content

Commit

Permalink
Merge pull request #898 from anarkiwi/master
Browse files Browse the repository at this point in the history
jitter test startup further.
  • Loading branch information
anarkiwi authored Aug 28, 2017
2 parents cabc51c + a6bcf72 commit ce8b4d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/faucet_mininet_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def expand_tests(requested_test_classes, excluded_test_classes,
sanity_test_suites = []
single_test_suites = []
parallel_test_suites = []
max_loadavg = multiprocessing.cpu_count()
max_loadavg = multiprocessing.cpu_count() + 1

for test_name, test_obj in inspect.getmembers(sys.modules[__name__]):
if not inspect.isclass(test_obj):
Expand Down
1 change: 1 addition & 0 deletions tests/faucet_mininet_test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ def setUp(self):
self.ports_sock, self._test_name())

self._write_controller_configs()
self._wait_load()

def tearDown(self):
"""Clean up after a test."""
Expand Down

0 comments on commit ce8b4d9

Please sign in to comment.