Skip to content
Snippets Groups Projects
Commit 4a8980bb authored by lukas leufen's avatar lukas leufen
Browse files

more sleep

parent 59318a8b
No related branches found
No related tags found
2 merge requests!17update to v0.4.0,!16handle station type
Pipeline #26609 passed
...@@ -43,7 +43,7 @@ class TestPreProcessing: ...@@ -43,7 +43,7 @@ class TestPreProcessing:
var_all_dict={'o3': 'dma8eu', 'temp': 'maximum'}) var_all_dict={'o3': 'dma8eu', 'temp': 'maximum'})
caplog.set_level(logging.INFO) caplog.set_level(logging.INFO)
PreProcessing() PreProcessing()
time.sleep(0.001) # sometimes the destruction logging is delayed during CI testing, so wait a little time.sleep(0.1) # sometimes the destruction logging is delayed during CI testing, so wait a little
assert caplog.record_tuples[0] == ('root', 20, 'PreProcessing started') assert caplog.record_tuples[0] == ('root', 20, 'PreProcessing started')
assert caplog.record_tuples[1] == ('root', 20, 'check valid stations started') assert caplog.record_tuples[1] == ('root', 20, 'check valid stations started')
assert caplog.record_tuples[-2] == ('root', 20, PyTestRegex(r'run for \d+\.\d+s to check 5 station\(s\). Found ' assert caplog.record_tuples[-2] == ('root', 20, PyTestRegex(r'run for \d+\.\d+s to check 5 station\(s\). Found '
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment