platformtest: harness: -failure.stop-and-keep-pool mode, prettier logging

This commit is contained in:
Christian Schwarz
2019-10-14 17:45:44 +02:00
parent f8f9fd11cd
commit 18d2c350de
4 changed files with 18 additions and 10 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ func CreateOrReplaceZpool(ctx context.Context, e Execer, args ZpoolCreateArgs) (
image.Close()
// create the pool
err = e.RunExpectSuccessNoOutput(ctx, "zpool", "create", "-O", "mountpoint=none", args.PoolName, args.ImagePath)
err = e.RunExpectSuccessNoOutput(ctx, "zpool", "create", "-f", "-O", "mountpoint=none", args.PoolName, args.ImagePath)
if err != nil {
return nil, errors.Wrap(err, "zpool create")
}