Skip to content

Tests Fail #15

Open
Open
@lonnietc

Description

@lonnietc

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions