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 committed Jul 7, 2023
1 parent 5fca9ee commit 7d91b44
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 @@ -319,5 +319,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 7d91b44

Please sign in to comment.