From 73487e1875b07642eb20430455f389add914b75f Mon Sep 17 00:00:00 2001 From: Michael Erickson Date: Fri, 7 Jul 2023 15:34:29 -0700 Subject: [PATCH] colcontainer: close PDQ during TestPartitionedDiskQueueSimulatedExternal Close the `PartitionedDiskQueue` at the end of `TestPartitionedDiskQueueSimulatedExternal/HashJoin`. Fixes: #106119 Release note: None --- pkg/sql/colcontainer/partitionedqueue_test.go | 3 +++ 1 file changed, 3 insertions(+) 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) }) }