MCPcopy Create free account
hub / github.com/brimdata/super / newQueue

Function newQueue

db/journal/journal_test.go:13–19  ·  view source on GitHub ↗
(ctx context.Context, t *testing.T)

Source from the content-addressed store, hash-verified

11)
12
13func newQueue(ctx context.Context, t *testing.T) *Queue {
14 path := storage.MustParseURI(t.TempDir())
15 engine := storage.NewLocalEngine()
16 q, err := Create(ctx, engine, path, 0)
17 require.NoError(t, err)
18 return q
19}
20
21func TestJournalConcurrent(t *testing.T) {
22 ctx := t.Context()

Callers 1

TestJournalConcurrentFunction · 0.85

Calls 3

MustParseURIFunction · 0.92
NewLocalEngineFunction · 0.92
CreateFunction · 0.70

Tested by

no test coverage detected