Replace Array#shuffle.first with Array#sample
Merge pull request #17245 from sferik/sample

Replace Array#shuffle.first with Array#sample