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

Function TestTable_Inspect

internal/utils/kvstore/table_field_test.go:258–271  ·  view source on GitHub ↗

**func TestTable_DeleteFieldValue(t *testing.T) { var table = testOpenStoreTable[*testCachedItem](t, "cache_items", &testCacheItemEncoder[*testCachedItem]{}) err := table.AddField("expiresAt") if err != nil { t.Fatal(err) } var before = time.Now() defer func() { var costSeconds = time.Sin

(t *testing.T)

Source from the content-addressed store, hash-verified

256**/
257
258func TestTable_Inspect(t *testing.T) {
259 var table = testOpenStoreTable[*testCachedItem](t, "cache_items", &testCacheItemEncoder[*testCachedItem]{})
260
261 defer func() {
262 _ = testingStore.Close()
263 }()
264
265 err := table.AddFields("expiresAt")
266 if err != nil {
267 t.Fatal(err)
268 }
269
270 testInspectDB(t)
271}

Callers

nothing calls this directly

Calls 3

testInspectDBFunction · 0.85
AddFieldsMethod · 0.80
CloseMethod · 0.65

Tested by

no test coverage detected