19
// RunQueueV2TestSuite executes interface-level tests for a queue persistence-layer implementation. There should be more
20
// implementation-specific tests that will not be covered by this suite elsewhere.
22
>
ctx := context.Background()
23
>
24
>
queueType := persistence.QueueTypeHistoryNormal
25
>
queueName := "test-queue-" + t.Name()
26
>
27
>
_, err := q.CreateQueue(ctx, &persistence.InternalCreateQueueRequest{
28
>
QueueType: queueType,
29
>
QueueName: queueName,
30
>
})
31
>
require.NoError(t, err)
32
>
t.Run("TestListQueues", func(t *testing.T) {
33
testListQueues(ctx, t, q)
34
})
36
t.Parallel()
37
38
testHappyPath(ctx, t, q, queueType, queueName)
39
})
41
t.Parallel()
42