Skip to content
New issue

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

Tests Fail #15

Open
lonnietc opened this issue Apr 12, 2022 · 0 comments
Open

Tests Fail #15

lonnietc opened this issue Apr 12, 2022 · 0 comments

Comments

@lonnietc
Copy link

Hello,

I compiled with Go v1.16 on a Windows 10 machine and ran your tests but had some failure:

C:\Bin\Go\go1.16\src\graph-db>go test ./... -cover
ok      graph-db/api    (cached)        coverage: 61.9% of statements
?       graph-db/cmd/graph-db   [no test files]
# graph-db/internal/app/core
internal\app\core\db_entity.go:63: return copies lock value: graph-db/internal/app/core.Entity contains net/rpc.Client contains sync.Mutex
internal\app\core\db_entity.go:81: call of append copies lock value: graph-db/internal/app/core.Entity contains net/rpc.Client contains sync.Mutex
internal\app\core\db_entity.go:126: range var slave copies lock: graph-db/internal/app/core.Entity contains net/rpc.Client contains sync.Mutex
internal\app\core\db_entity.go:136: assignment copies lock value to master.Slaves[i].Connector: net/rpc.Client contains sync.Mutex
internal\app\core\db_entity.go:158: range var slave copies lock: graph-db/internal/app/core.Entity contains net/rpc.Client contains sync.Mutex
FAIL    graph-db/internal/app/core [build failed]
?       graph-db/internal/app/core/globals      [no test files]
?       graph-db/internal/app/core/structs      [no test files]
ok      graph-db/internal/pkg/utils     (cached)        coverage: 76.5% of statements
FAIL

Any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant