You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kg...@apache.org on 2019/09/30 14:34:52 UTC

[qpid-dispatch] branch master updated: NO-JIRA: fix system tests to avoid over writing debug dump files

This is an automated email from the ASF dual-hosted git repository.

kgiusti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new 8545f36  NO-JIRA: fix system tests to avoid over writing debug dump files
8545f36 is described below

commit 8545f36a4c0211fb008aba24a7f7dcd6aa7abe39
Author: Kenneth A. Giusti <kg...@gmail.com>
AuthorDate: Fri Sep 20 10:41:10 2019 -0400

    NO-JIRA: fix system tests to avoid over writing debug dump files
    
    This closes #568
---
 tests/system_test.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/system_test.py b/tests/system_test.py
index 366f63f..6619d0e 100755
--- a/tests/system_test.py
+++ b/tests/system_test.py
@@ -330,7 +330,7 @@ class Qdrouterd(Process):
             'listener': {'host':'0.0.0.0', 'saslMechanisms':'ANONYMOUS', 'idleTimeoutSeconds': '120',
                          'authenticatePeer': 'no', 'role': 'normal'},
             'connector': {'host':'127.0.0.1', 'saslMechanisms':'ANONYMOUS', 'idleTimeoutSeconds': '120'},
-            'router': {'mode': 'standalone', 'id': 'QDR', 'debugDumpFile': 'qddebug.txt'}
+            'router': {'mode': 'standalone', 'id': 'QDR'}
         }
 
         def sections(self, name):
@@ -376,6 +376,8 @@ class Qdrouterd(Process):
         self.perform_teardown = perform_teardown
         if not name: name = self.config.router_id
         assert name
+        # setup log and debug dump files
+        self.config.sections('router')[0]['debugDumpFile'] = '%s-qddebug.txt' % name
         default_log = [l for l in config if (l[0] == 'log' and l[1]['module'] == 'DEFAULT')]
         if not default_log:
             config.append(


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org