From 39231abbab32fcea59f980d6aff4242ab4151525 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Mon, 15 Jun 2020 11:26:43 +0300 Subject: [PATCH] Skip performance tests that actually run monkeys by default --- envs/monkey_zoo/blackbox/test_blackbox.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/envs/monkey_zoo/blackbox/test_blackbox.py b/envs/monkey_zoo/blackbox/test_blackbox.py index 88f5c12a8..d4e21fb6d 100644 --- a/envs/monkey_zoo/blackbox/test_blackbox.py +++ b/envs/monkey_zoo/blackbox/test_blackbox.py @@ -132,6 +132,7 @@ class TestMonkeyBlackbox(object): def test_wmi_pth(self, island_client): TestMonkeyBlackbox.run_exploitation_test(island_client, "WMI_PTH.conf", "WMI_PTH") + @pytest.mark.skip(reason="Perfomance test that creates env from fake telemetries is faster, use that instead.") def test_report_generation_performance(self, island_client, quick_performance_tests): """ This test includes the SSH + Elastic + Hadoop + MSSQL machines all in one test @@ -149,6 +150,7 @@ class TestMonkeyBlackbox(object): LOGGER.error("This test doesn't support 'quick_performance_tests' option.") assert False + @pytest.mark.skip(reason="Perfomance test that creates env from fake telemetries is faster, use that instead.") def test_map_generation_performance(self, island_client, quick_performance_tests): if not quick_performance_tests: TestMonkeyBlackbox.run_performance_test(MapGenerationTest,