gh-136186: Fix flaky tests in test_external_inspection (#143110)

1 file changed