Skip to content

Commit

Permalink
test_booster_startthread.py: more robustness for test_booster_thread_…
Browse files Browse the repository at this point in the history
…0_loop.
  • Loading branch information
Martin Skorsky authored and alyxazon committed Jul 31, 2024
1 parent 6d24f08 commit e7adffb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/ftm/tests/test_booster_startthread.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,12 @@ def test_booster_thread_0_loop(self):
self.startPattern('booster-thread-0-loop.dot', 'MAIN')
file_name = 'snoop_booster-thread-0-loop.csv'
column_Param = 20
self.delay(0.5)
self.snoopToCsv(file_name, 3)
self.analyseFrequencyFromCsv(file_name, column_Param)
# assert that there are more than 61 tmsg in 3 seconds with EVTNO 0x0001.
column_EVTNO = 8
self.analyseFrequencyFromCsv(file_name, column_EVTNO, checkValues={'0x0001': '>60'})
self.analyseFrequencyFromCsv(file_name, column_EVTNO, checkValues={'0x0001': '>59'})
self.deleteFile(file_name)

def test_booster_thread_0(self):
Expand Down

0 comments on commit e7adffb

Please sign in to comment.