MCPcopy Create free account
hub / github.com/InferCore/InferCore / TestTraceIDIsUsuallyUnique

Function TestTraceIDIsUsuallyUnique

internal/traceutil/ids_test.go:17–23  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15}
16
17func TestTraceIDIsUsuallyUnique(t *testing.T) {
18 a := NewTraceID()
19 b := NewTraceID()
20 if a == b {
21 t.Fatalf("expected different trace ids, both were %q", a)
22 }
23}

Callers

nothing calls this directly

Calls 1

NewTraceIDFunction · 0.85

Tested by

no test coverage detected