-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Closed
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.
Milestone
Description
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/filewatcher" && test == "TestFileWatcher/rename_directory_in_linux_&_windows"
Issue created automatically to collect these failures.
Example (log):
=== RUN TestFileWatcher/rename_directory_in_linux_&_windows
==================
WARNING: DATA RACE
Write at 0x00c000242640 by goroutine 34:
runtime.racewrite()
<autogenerated>:1 +0x24
golang.org/x/tools/gopls/internal/filewatcher.(*Watcher).Close()
C:/b/s/w/ir/x/w/targetrepo3412854684/gopls/internal/filewatcher/filewatcher.go:421 +0x3e
golang.org/x/tools/gopls/internal/filewatcher_test.TestFileWatcher.func12()
C:/b/s/w/ir/x/w/targetrepo3412854684/gopls/internal/filewatcher/filewatcher_test.go:343 +0xdd1
...
Goroutine 37 (running) created at:
golang.org/x/tools/gopls/internal/filewatcher.(*Watcher).handleEvent()
C:/b/s/w/ir/x/w/targetrepo3412854684/gopls/internal/filewatcher/filewatcher.go:233 +0x533
golang.org/x/tools/gopls/internal/filewatcher.(*Watcher).run()
C:/b/s/w/ir/x/w/targetrepo3412854684/gopls/internal/filewatcher/filewatcher.go:128 +0x3f4
golang.org/x/tools/gopls/internal/filewatcher.New.gowrap1()
C:/b/s/w/ir/x/w/targetrepo3412854684/gopls/internal/filewatcher/filewatcher.go:74 +0x46
==================
testing.go:1617: race detected during execution of test
--- FAIL: TestFileWatcher/rename_directory_in_linux_&_windows (0.65s)
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.
Type
Projects
Status
Done