platformtest: fix 'active child tasks' panic for ReceiveForceRollbackWorksUnencrypted

Revealed by rework of SendStream in a prior commit.
This commit is contained in:
Christian Schwarz 2021-08-22 20:35:45 +02:00
parent 959fb08a89
commit b54e477602

View File

@ -40,6 +40,7 @@ func ReceiveForceRollbackWorksUnencrypted(ctx *platformtest.Context) {
sendStream, err := zfs.ZFSSend(ctx, sendArgs)
require.NoError(ctx, err)
defer sendStream.Close()
recvOpts := zfs.RecvOptions{
RollbackAndForceRecv: true,