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 126874b423
commit ff6ebe87f3

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,