Description
Fix a recurrent integration test flake that's been causing some confusion.
Related Issues
- https://github.com/gatsbyjs/gatsby/pull/34383#issuecomment-1003938845
- https://github.com/gatsbyjs/gatsby/pull/34182#issuecomment-1006758251
[sc-44269]