MCPcopy
hub / github.com/olric-data/olric / TestOlric_StartAndShutdown

Function TestOlric_StartAndShutdown

olric_test.go:118–124  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

116}
117
118func TestOlric_StartAndShutdown(t *testing.T) {
119 cluster := newTestOlricCluster(t)
120 db := cluster.addMember(t)
121
122 err := db.Shutdown(context.Background())
123 require.NoError(t, err)
124}
125
126func TestOlricCluster_StartAndShutdown(t *testing.T) {
127 cluster := newTestOlricCluster(t)

Callers

nothing calls this directly

Calls 3

newTestOlricClusterFunction · 0.85
addMemberMethod · 0.80
ShutdownMethod · 0.65

Tested by

no test coverage detected