From 84c289b8f789da9bf34febef8055aa85d3feab1a Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Fri, 1 Dec 2017 16:26:55 +0100 Subject: [PATCH] Be more generous with reading delay in unittest --- test/test_log_read.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/test/test_log_read.py b/test/test_log_read.py index 642eba7..7930b06 100644 --- a/test/test_log_read.py +++ b/test/test_log_read.py @@ -199,7 +199,7 @@ class LogReadTester(unittest.TestCase): print('stop since have {0} reads'.format(counter)) break print('time diffs in us: {0}'.format(time_diffs)) - self.assertTrue(max(time_diffs) < 1000., 'read took more than 1ms!') + self.assertTrue(max(time_diffs) < 1500., 'read took more than 1.5ms!') def test_line_read(self): """ write partial lines, full lines and multiple lines """ -- 1.7.1