Attempt to fix flaky integration test (#20384)