Skip to content

Fix TestTrackRepositoriesSubcommand flaky test

Ahmad Sherif requested to merge fix-praefect-flaky-test into master

The flakiness happens if we hit an error here, which would cause extra output to be present which we can't account for in the tests since the chances of this error happening (could be a Gitaly connection timeout) are very slim.

By testing against individual lines instead of the output as whole string, we eliminate the source of the flakiness for this particular test.

Fixes #5974 (closed)

Edited by Ahmad Sherif

Merge request reports