Skip to content

Commit

Permalink
Add lines to ensure existing queues are closed before starting the ti…
Browse files Browse the repository at this point in the history
…med pipe test
  • Loading branch information
langmm committed Jan 30, 2019
1 parent cbbfb59 commit a3e9392
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cis_interface/examples/tests/test_timed_pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ def __init__(self, *args, **kwargs):
self.env = {'PIPE_MSG_COUNT': '10',
'PIPE_MSG_SIZE': '1024'}
# self.debug_flag = True
if self._new_default_comm == 'IPCComm':
from cis_interface.communication.IPCComm import ipcrm_queues, ipc_queues
qlist = ipc_queues()
if qlist: # pragma: debug
print('Existing queues:', qlist)
ipcrm_queues()

@property
def description_prefix(self):
Expand Down

0 comments on commit a3e9392

Please sign in to comment.