fix sync barrier
This commit is contained in:
parent
069db154e6
commit
48d7a8f89e
1 changed files with 1 additions and 5 deletions
|
@ -2,11 +2,7 @@
|
|||
|
||||
sleep 1
|
||||
echo "sync_barrier_start"
|
||||
nc -u 127.13.3.7 5000 --sh-exec 'while true; do sleep 1; echo a; done' &
|
||||
CAPTURE=$!
|
||||
nc -ul 127.0.0.1 5000 --exec /bin/true
|
||||
nc -v --udp --source 127.0.0.1 --source-port 5000 127.13.3.7 5000 --sh-exec '(while true; do sleep 1; echo a; done) & B=$!; read r; kill $B'
|
||||
echo "sync_barrier_release"
|
||||
sleep 1
|
||||
kill $CAPTURE
|
||||
sleep 10
|
||||
echo "sync_barrier_done"
|
||||
|
|
Loading…
Reference in a new issue