export PATH=$PWD/$SRCDIR:$SRCDIR:$PWD/$SRCDIR/utils:$PATH:/sbin:/usr/sbin
ONLY=${ONLY:-"$*"}
-# bug number for skipped test: 3815
+# bug number for skipped test: LU-3815
ALWAYS_EXCEPT="$SANITY_HSM_EXCEPT 34 35 36"
-# bug number for skipped test:4178 4176
+# bug number for skipped test:LU-5474
+ALWAYS_EXCEPT="$ALWAYS_EXCEPT 90"
+# bug number for skipped test:LU-4178 LU-4176
ALWAYS_EXCEPT="$ALWAYS_EXCEPT 200 221 223b 31a"
# bug number for skipped test:LU-3852
ALWAYS_EXCEPT="$ALWAYS_EXCEPT 251"
# Just start and stop the copytool to generate events.
cdt_clear_no_retry
+
+ # Wait for the copytool to register.
+ wait_update --verbose $(facet_active_host mds1) \
+ "$LCTL get_param -n ${MDT_PREFIX}0.hsm.agents | grep -o ^uuid" \
+ uuid 100 ||
+ error "copytool failed to register with MDT0000"
+
copytool_cleanup
local REGISTER_EVENT