"master" and "slave" invocations are intended to run in parallel and
coordinate between themselves. Ensure that their respective output is
properly timestamped and ordered in teuthology.log file.
Fixes: https://tracker.ceph.com/issues/70831
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
49dbabcecec7c458a6d2ddfbd8e14a6ec419b953)
#!/usr/bin/python3
+import functools
import os
import sys
import time
RBD_FEATURE_FAST_DIFF,
RBD_FLAG_OBJECT_MAP_INVALID)
+print = functools.partial(print, flush=True)
+
POOL_NAME='rbd'
PARENT_IMG_NAME='test_notify_parent'
CLONE_IMG_NAME='test_notify_clone'