mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
tools/test-queue-worker-reload: Avoid shelling out for touch.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
committed by
Tim Abbott
parent
d3f8f74ac4
commit
19f37fb3d4
@@ -86,7 +86,7 @@ if __name__ == '__main__':
|
||||
logfile.seek(0)
|
||||
|
||||
print("Attempting to modify a file")
|
||||
subprocess.call(['touch', 'zerver/lib/actions.py'])
|
||||
os.utime('zerver/lib/actions.py')
|
||||
failed = check_worker_launch(logfile_name)
|
||||
|
||||
run_dev.send_signal(signal.SIGINT)
|
||||
|
Reference in New Issue
Block a user