MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / TestStore_Open

Function TestStore_Open

internal/utils/kvstore/store_test.go:62–73  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

60}
61
62func TestStore_Open(t *testing.T) {
63 store, err := kvstore.OpenStore("test")
64 if err != nil {
65 t.Fatal(err)
66 }
67 defer func() {
68 _ = store.Close()
69 }()
70
71 t.Log("opened")
72 _ = store
73}
74
75func TestStore_Twice(t *testing.T) {
76 {

Callers

nothing calls this directly

Calls 3

OpenStoreFunction · 0.92
LogMethod · 0.80
CloseMethod · 0.65

Tested by

no test coverage detected