diff --git a/pkg/sql/colcontainer/partitionedqueue_test.go b/pkg/sql/colcontainer/partitionedqueue_test.go index 3efbe2d9d6de..ec1aa78db95f 100644 --- a/pkg/sql/colcontainer/partitionedqueue_test.go +++ b/pkg/sql/colcontainer/partitionedqueue_test.go @@ -310,5 +310,8 @@ func TestPartitionedDiskQueueSimulatedExternal(t *testing.T) { } joinRepartition(0, 0, numRepartitions, 0) + + require.NoError(t, p.Close(ctx)) + countingFS.assertOpenFDs(t, sem, 0, 0) }) }