Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-2918 tests: sanity 184c to start copy before layout swap
[fs/lustre-release.git]
/
lustre
/
tests
/
sanity.sh
diff --git
a/lustre/tests/sanity.sh
b/lustre/tests/sanity.sh
index
8778301
..
af29ca2
100644
(file)
--- a/
lustre/tests/sanity.sh
+++ b/
lustre/tests/sanity.sh
@@
-9532,7
+9532,8
@@
test_184c() {
dd if=$ref1 of=$file1 bs=16k &
local DD_PID=$!
- sleep 0.$((RANDOM % 5 + 1))
+ # Make sure dd starts to copy file
+ while [ ! -f $file1 ]; do sleep 0.1; done
$LFS swap_layouts $file1 $file2
local rc=$?