BB: Change test order

This commit is contained in:
Mike Salvatore 2022-04-14 13:52:41 -04:00
parent 16e887a94a
commit a2c3b74d09
1 changed files with 5 additions and 3 deletions

View File

@ -110,12 +110,14 @@ class TestMonkeyBlackbox:
def get_log_dir_path():
return os.path.abspath(LOG_DIR_PATH)
def test_depth_1_a(self, island_client):
TestMonkeyBlackbox.run_exploitation_test(island_client, Depth1A, "Depth1A test suite")
# If test_depth_1_a() is run first, some test will fail because machines are not yet fully
# booted. Running test_depth_2_a() first gives slow VMs extra time to boot.
def test_depth_2_a(self, island_client):
TestMonkeyBlackbox.run_exploitation_test(island_client, Depth2A, "Depth2A test suite")
def test_depth_1_a(self, island_client):
TestMonkeyBlackbox.run_exploitation_test(island_client, Depth1A, "Depth1A test suite")
def test_depth_3_a(self, island_client):
TestMonkeyBlackbox.run_exploitation_test(island_client, Depth3A, "Depth3A test suite")