From 2683dc1412fe967057a3eeea2974621718783139 Mon Sep 17 00:00:00 2001 From: Luc Provoost Date: Thu, 2 Feb 2023 17:34:11 +0100 Subject: fix machine name in DEBUG logging We are logging the content of all test parameters in DEBUG mode. Since one of the test parameters (machine name) can still change to make sure we have unique machines names, the logging is done later, after the machines names are guaranteed to be unique. Signed-off-by: Luc Provoost Change-Id: I06cbdbcfd9044798ebad03ead0eca567e7f24a9d --- VNFs/DPPD-PROX/helper-scripts/rapid/runrapid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'VNFs') diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/runrapid.py b/VNFs/DPPD-PROX/helper-scripts/rapid/runrapid.py index f5b722c8..7ec270a1 100755 --- a/VNFs/DPPD-PROX/helper-scripts/rapid/runrapid.py +++ b/VNFs/DPPD-PROX/helper-scripts/rapid/runrapid.py @@ -59,7 +59,6 @@ class RapidTestManager(object): def run_tests(self, test_params): test_params = RapidConfigParser.parse_config(test_params) - RapidLog.debug(test_params) monitor_gen = monitor_sut = False background_machines = [] sut_machine = gen_machine = None @@ -103,6 +102,7 @@ class RapidTestManager(object): if machine_params['prox_socket']: sut_machine = machine self.machines.append(machine) + RapidLog.debug(test_params) try: prox_executor = concurrent.futures.ThreadPoolExecutor(max_workers=len(self.machines)) self.future_to_prox = {prox_executor.submit(machine.start_prox): machine for machine in self.machines} -- cgit 1.2.3-korg