[Git][ghc/ghc][wip/romes/fix-test] fix: make T27131 less flaky