From f6b52d90312e1ce8d80cd8a9c4e26af9fc92a80a Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 4 Aug 2021 14:49:28 -0400 Subject: [PATCH] BB: Don't wait so long for monkeys to die With the propagation depth set to 1 for most tests and the number of scanned ports limited, we don't need such a large delay when waiting for monkeys to die. --- envs/monkey_zoo/blackbox/tests/exploitation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/envs/monkey_zoo/blackbox/tests/exploitation.py b/envs/monkey_zoo/blackbox/tests/exploitation.py index e3397b949..ddc6bc9c2 100644 --- a/envs/monkey_zoo/blackbox/tests/exploitation.py +++ b/envs/monkey_zoo/blackbox/tests/exploitation.py @@ -6,8 +6,8 @@ from envs.monkey_zoo.blackbox.tests.basic_test import BasicTest from envs.monkey_zoo.blackbox.utils.test_timer import TestTimer MAX_TIME_FOR_MONKEYS_TO_DIE = 5 * 60 -WAIT_TIME_BETWEEN_REQUESTS = 10 -TIME_FOR_MONKEY_PROCESS_TO_FINISH = 40 +WAIT_TIME_BETWEEN_REQUESTS = 5 +TIME_FOR_MONKEY_PROCESS_TO_FINISH = 10 DELAY_BETWEEN_ANALYSIS = 3 LOGGER = logging.getLogger(__name__)