Skip to content

Commit 939aba4

Browse files
committed
add fixture
1 parent f2963cd commit 939aba4

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
INSERT INTO usage_events (
2+
id,
3+
event_type,
4+
event_data,
5+
created_at,
6+
publish_started_at,
7+
published_at,
8+
failure_message
9+
)
10+
VALUES
11+
-- Unpublished dc_managed_agents_v1 event.
12+
(
13+
'event1',
14+
'dc_managed_agents_v1',
15+
'{"count":1}',
16+
'2023-01-01 00:00:00+00',
17+
NULL,
18+
NULL,
19+
NULL
20+
),
21+
-- Successfully published dc_managed_agents_v1 event.
22+
(
23+
'event2',
24+
'dc_managed_agents_v1',
25+
'{"count":2}',
26+
'2023-01-01 00:00:00+00',
27+
NULL,
28+
'2023-01-01 00:00:02+00',
29+
NULL
30+
),
31+
-- Publish in progress dc_managed_agents_v1 event.
32+
(
33+
'event3',
34+
'dc_managed_agents_v1',
35+
'{"count":3}',
36+
'2023-01-01 00:00:00+00',
37+
'2023-01-01 00:00:01+00',
38+
NULL,
39+
NULL
40+
),
41+
-- Temporarily failed to publish dc_managed_agents_v1 event.
42+
(
43+
'event4',
44+
'dc_managed_agents_v1',
45+
'{"count":4}',
46+
'2023-01-01 00:00:00+00',
47+
NULL,
48+
NULL,
49+
'publish failed temporarily'
50+
),
51+
-- Permanently failed to publish dc_managed_agents_v1 event.
52+
(
53+
'event5',
54+
'dc_managed_agents_v1',
55+
'{"count":5}',
56+
'2023-01-01 00:00:00+00',
57+
NULL,
58+
'2023-01-01 00:00:02+00',
59+
'publish failed permanently'
60+
)

0 commit comments

Comments
 (0)