Skip to content

Commit

Permalink
fence flux-framework#2 test
Browse files Browse the repository at this point in the history
  • Loading branch information
chu11 committed Dec 14, 2017
1 parent 8219b2c commit 77e7f9b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions t/t1004-kvs-namespace.t
Original file line number Diff line number Diff line change
Expand Up @@ -510,17 +510,12 @@ test_expect_success NO_CHAIN_LINT 'kvs: incomplete fence gets ENOTSUP when names
test_expect_success NO_CHAIN_LINT 'kvs: incomplete fence on rank 1 gets ENOTSUP when namespace is removed' '
flux kvs namespace-create $NAMESPACETMP-REMOVE-FENCE1 &&
rm -f fence_out
flux exec -r 1 sh -c "export FLUX_KVS_NAMESPACE=$NAMESPACETMP-REMOVE-FENCE1 ; echo "llaa" ; stdbuf -oL ${FLUX_BUILD_DIR}/t/kvs/fence_namespace_remove fence1" > fence_out &
stdbuf -oL flux exec -r 1 sh -c "export FLUX_KVS_NAMESPACE=$NAMESPACETMP-REMOVE-FENCE1 ; ${FLUX_BUILD_DIR}/t/kvs/fence_namespace_remove fence1" > fence_out &
watchpid=$! &&
echo "wait for ready" &&
wait_watch_current fence_out "ready" &&
echo "sleep" &&
sleep 5 &&
echo "namespace remove" &&
flux kvs namespace-remove $NAMESPACETMP-REMOVE-FENCE1 &&
echo "after remove" &&
wait $watchpid &&
echo "after wait $?" &&
grep "flux_future_get: Operation not supported" fence_out
'

Expand Down

0 comments on commit 77e7f9b

Please sign in to comment.