Skip to content

Commit

Permalink
Fix tests instability
Browse files Browse the repository at this point in the history
  • Loading branch information
svpcom committed Aug 8, 2024
1 parent 3a9bdad commit 41cacae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wfb_ng/tests/test_txrx.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,16 @@ def setUp(self):
# Wait for tx/rx processes to initialize
yield df_sleep(0.1)

@defer.inlineCallbacks
def tearDown(self):
self.rx_pp.transport.signalProcess('KILL')
self.tx_pp.transport.signalProcess('KILL')
self.rx_ep.stopListening()
self.tx_ep.stopListening()
self.cmd_ep.stopListening()
# Wait for tx/rx processes to die
yield df_sleep(0.1)


@defer.inlineCallbacks
def test_txrx(self):
Expand Down

0 comments on commit 41cacae

Please sign in to comment.