Apply 2.7.7 patches

What does this MR do and why?

Address gitlab#384081 (closed). I just copied the patches from 2.7.6/

!612 (merged) upgraded to Ruby 2.7.7 but we also need to do this for those tests to succeed on CI

Edited by Thong Kuah

Merge request reports

Loading