Skip to content

localrepo: Fix flaky `TestRepo_FetchInternal/nonexistent_revision` test

Justin Tobler requested to merge jt/fix-flaky-test into master

The TestRepo_FetchInternal/nonexistent_revision test is flaky due to an expected race where both git and a yamux connection write info to stderr. Update the test assertion to only validate that stderr contains the expected git error message.

Related: #5623 (closed)

Edited by Justin Tobler

Merge request reports