doctor: disable check_hg_status_match_hg_diff

Summary: The check appears to be flaky for an unknown reason.

Reviewed By: chadaustin

Differential Revision: D44104911

fbshipit-source-id: 390a0d11e16d09c5204d829727ee20db37665815
This commit is contained in:
Xavier Deguillard 2023-03-15 14:55:24 -07:00 committed by Facebook GitHub Bot
parent ad5906b6a7
commit d066d48aa7

View File

@ -679,10 +679,11 @@ def check_running_mount(
except Exception as ex: except Exception as ex:
raise RuntimeError("Failed to check Mercurial status") from ex raise RuntimeError("Failed to check Mercurial status") from ex
try: # The check is flaky, disable for now.
check_filesystems.check_hg_status_match_hg_diff(tracker, instance, checkout) # try:
except Exception as ex: # check_filesystems.check_hg_status_match_hg_diff(tracker, instance, checkout)
raise RuntimeError("Failed to compare `hg status` with `hg diff`") from ex # except Exception as ex:
# raise RuntimeError("Failed to compare `hg status` with `hg diff`") from ex
class CheckoutNotConfigured(Problem): class CheckoutNotConfigured(Problem):