Skip to content

Commit

Permalink
Flush file system buffers before checking instance store setup
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Carrogu <carrogu@amazon.com>
  • Loading branch information
lukeseawalker authored and yuleiwan committed Oct 25, 2021
1 parent 7b59521 commit d6b4b9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ module load intelmpi && mpirun --help | grep '#{node['cluster']['intelmpi']['kit
set -e
if [ $NUM_DEVS -gt 0 ]; then
# flush file system buffers
sync && sleep 1
mkdir -p ${EPHEMERAL_DIR}/test_dir
touch ${EPHEMERAL_DIR}/test_dir/test_file
fi
Expand Down

0 comments on commit d6b4b9d

Please sign in to comment.