mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-02 11:44:05 +09:00
PollNetMapHandler: refactor with chan lifetimes in mind
* Resolves an issue where sometimes attempted sends on a closed channel happened by ensuring the channels remain open for the entire goroutine. * May be of help with regards to issue #203
This commit is contained in:
1 parent
d35fb8bba0
commit
a32175f791
2 files changed
+45
-50
No files matched your search
@@ -18,7 +18,7 @@ test:
|
||||
@go test -coverprofile=coverage.out ./...
|
||||
|
||||
test_integration:
|
||||
go test -tags integration -timeout 30m ./...
|
||||
go test -tags integration -timeout 30m -count=1 ./...
|
||||
|
||||
test_integration_cli:
|
||||
go test -tags integration -v integration_cli_test.go integration_common_test.go
|
||||
|
||||
Reference in new issue
Block a user