ZTS: zpool_export_parallel_admin.sh busy export
If the pool is active 'zpool export' will fail resulting in a test failure. Swap log_must with log_must_busy so the export is retried when reported as busy before failing the test. Reviewed-by: Tony Hutter <hutter2@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #18447
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ log_must zpool create -f $TESTPOOL1 mirror ${DEVICE_DIR}/disk0 ${DEVICE_DIR}/dis
|
|||||||
|
|
||||||
log_must zinject -P export -s 10 $TESTPOOL1
|
log_must zinject -P export -s 10 $TESTPOOL1
|
||||||
|
|
||||||
log_must zpool export $TESTPOOL1 &
|
log_must_busy zpool export $TESTPOOL1 &
|
||||||
|
|
||||||
zpool set comment=hello $TESTPOOL1
|
zpool set comment=hello $TESTPOOL1
|
||||||
zpool reguid $TESTPOOL1 &
|
zpool reguid $TESTPOOL1 &
|
||||||
|
|||||||
Reference in New Issue
Block a user