Skip to content

Fix flaky Syncer tests by not overwriting tests data

Warren Gifford requested to merge mrn/fix-flaky-syncer-tests into main

Created by: mrnugget

Re-enables and fixes the tests disabled here: https://github.com/sourcegraph/sourcegraph/pull/23831

Previously the test accessed and modified codeHosts from different goroutines. With this change we overwrite the hook instead of the data, avoiding the race.

Merge request reports

Loading