Skip to content

Commit d6b4b9d

Browse files
lukeseawalkeryuleiwan
authored andcommitted
Flush file system buffers before checking instance store setup
Signed-off-by: Luca Carrogu <carrogu@amazon.com>
1 parent 7b59521 commit d6b4b9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

recipes/tests.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,8 @@ module load intelmpi && mpirun --help | grep '#{node['cluster']['intelmpi']['kit
367367
set -e
368368
369369
if [ $NUM_DEVS -gt 0 ]; then
370+
# flush file system buffers
371+
sync && sleep 1
370372
mkdir -p ${EPHEMERAL_DIR}/test_dir
371373
touch ${EPHEMERAL_DIR}/test_dir/test_file
372374
fi

0 commit comments

Comments
 (0)