Skip to content

Commit

Permalink
colcontainer: close PDQ during TestPartitionedDiskQueueSimulatedExternal
Browse files Browse the repository at this point in the history
Close the `PartitionedDiskQueue` at the end of
`TestPartitionedDiskQueueSimulatedExternal/HashJoin`.

Fixes: #106119

Release note: None
  • Loading branch information
michae2 authored and yuzefovich committed Sep 8, 2023
1 parent 636cea0 commit 73487e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/sql/colcontainer/partitionedqueue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
}

0 comments on commit 73487e1

Please sign in to comment.