Skip to content

Commit

Permalink
Other updates for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasSchellenbergNextCentury committed Oct 6, 2023
1 parent 36060f6 commit 6f11ea7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ controller_timeout

(int, optional)

Sets the time (in seconds) to allow on controller initialization before timing out. Default 180
Sets the time (in seconds) to allow on controller initialization before timing out. Default 600

terminal_output
^^^^^^^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/run_handmade_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def start_handmade_tests(
else:
failed_test_list.append((test_name, metadata_tier, status))

controller.stop_simulation()
controller.stop_simulation()

successful_test_list.sort(key=lambda x: x[0])
failed_test_list.sort(key=lambda x: x[0])
Expand Down
2 changes: 1 addition & 1 deletion machine_common_sense/config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ class ConfigManager:
TIMEOUT_DEFAULT = 3600

# Default time for initalizing a controller.
CONTROLLER_TIMEOUT_DEFAULT = 180
CONTROLLER_TIMEOUT_DEFAULT = 600

def __init__(self, config_file_or_dict=None):
'''
Expand Down
4 changes: 2 additions & 2 deletions tests/test_config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ def test_get_metadata_tier(self):
'oracle')

def test_controller_timeout(self):
self.assertEquals(self.config_mngr.get_controller_timeout(), 180)
self.assertEqual(self.config_mngr.get_controller_timeout(), 600)
self.config_mngr.set_controller_timeout(str(90))
self.assertEquals(self.config_mngr.get_controller_timeout(), 90)
self.assertEqual(self.config_mngr.get_controller_timeout(), 90)

def test_get_size(self):
self.assertEqual(self.config_mngr.get_size(), 600)
Expand Down

0 comments on commit 6f11ea7

Please sign in to comment.