We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
=== Failed === FAIL: enterprise/coderd TestFeaturesService_EntitlementsAPI/NoLicense (0.00s) testing.go:1319: race detected during execution of test --- FAIL: TestFeaturesService_EntitlementsAPI/NoLicense (0.00s) === FAIL: enterprise/coderd TestFeaturesService_EntitlementsAPI/FullLicense (0.00s) testing.go:1319: race detected during execution of test --- FAIL: TestFeaturesService_EntitlementsAPI/FullLicense (0.00s) === FAIL: enterprise/coderd TestFeaturesService_EntitlementsAPI/Warnings (0.00s) testing.go:1319: race detected during execution of test --- FAIL: TestFeaturesService_EntitlementsAPI/Warnings (0.00s) === FAIL: enterprise/coderd TestFeaturesService_EntitlementsAPI (0.00s) === FAIL: enterprise/coderd TestFeaturesServiceSyncEntitlements (0.00s) testing.go:1319: race detected during execution of test ================== WARNING: DATA RACE Write at 0x00c001483410 by goroutine 3840: github.com/coder/coder/enterprise/coderd.TestFeaturesService_EntitlementsAPI.func3() /home/coder/src/cdr/coder/enterprise/coderd/features_internal_test.go:139 +0x58d testing.tRunner() /usr/local/go/src/testing/testing.go:1446 +0x216 testing.(*T).Run.func1() /usr/local/go/src/testing/testing.go:1493 +0x47 Previous write at 0x00c001483410 by goroutine 3839: github.com/coder/coder/enterprise/coderd.TestFeaturesService_EntitlementsAPI.func2() /home/coder/src/cdr/coder/enterprise/coderd/features_internal_test.go:89 +0x509 testing.tRunner() /usr/local/go/src/testing/testing.go:1446 +0x216 testing.(*T).Run.func1() /usr/local/go/src/testing/testing.go:1493 +0x47 Goroutine 3840 (running) created at: testing.(*T).Run() /usr/local/go/src/testing/testing.go:1493 +0x75d github.com/coder/coder/enterprise/coderd.TestFeaturesService_EntitlementsAPI() /home/coder/src/cdr/coder/enterprise/coderd/features_internal_test.go:115 +0x81c testing.tRunner()
Both appear to refer to concurrent usage of database.Store.
database.Store
The text was updated successfully, but these errors were encountered:
fix: Scope error to test functions to fix TestFeaturesService race
1d47765
Fixes #3747.
fix: Scope error to test functions to fix TestFeaturesService race (#…
6644e95
…3765) Fixes #3747.
Successfully merging a pull request may close this issue.
Both appear to refer to concurrent usage of
database.Store
.The text was updated successfully, but these errors were encountered: