It seems to have a race condition, sometimes the tmp file is not deleted before the test assertion. We let the test sleep for 0.5 second before the assertion.
It seems to have a race condition, sometimes the tmp file is not deleted before the test assertion. We let the test sleep for 0.5 second before the assertion.