mirror of
https://github.com/mattermost/mattermost.git
synced 2026-10-28 02:36:08 +08:00
MM-31369: Fix racy test FileStoreWatcherEmitter encore (#16657)
There was a mistake in my earlier analysis. t.Parallel only applies to the current test and not its subtests. There is some other test running with t.Parallel that is causing duplicate file watcher events to be fired. I have now verified that removing this causes the race to go away in CI
This commit is contained in:
@@ -882,8 +882,6 @@ func TestFileStoreWatcherEmitter(t *testing.T) {
|
||||
t.Skip("skipping watcher test in short mode")
|
||||
}
|
||||
|
||||
t.Parallel()
|
||||
|
||||
t.Run("disabled", func(t *testing.T) {
|
||||
path, tearDown := setupConfigFile(t, emptyConfig)
|
||||
defer tearDown()
|
||||
|
||||
Reference in New Issue
Block a user