Fix the issue, make the previously added test pass.

1 job for 317833-fix-copy-pool-optimization-with-descriptor-change in 7 minutes and 3 seconds (queued for 3 seconds)