Move completed trace archive chunks to an "archives" sub-folder
[lttng-tools.git] / tests / regression / tools / rotation / rotate_utils.sh
index 3d622decaf7d4b43d494973a9d96092b4400c45d..3cd9fab6f5ea278437be9db2980c3e4cf72c1964 100644 (file)
@@ -116,6 +116,11 @@ function rotate_timer_test ()
        nr_iter=0
        expected_chunks=3
 
+       # Wait for the "archives" folder to appear after the first rotation
+       until [ -d $local_path ]; do
+           sleep 1
+       done
+
        # Wait for $expected_chunks to be generated, timeout after
        # 3 * $expected_chunks * 0.5s.
        # On a laptop with an empty session, a local rotation takes about 200ms,
This page took 0.024871 seconds and 4 git commands to generate.