Skip to content

Commit c40f5b5

Browse files
javabrettKawron
authored andcommitted
Added index and event values to test data.
1 parent 394ef55 commit c40f5b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/com/splunk/kafka/connect/SplunkSinkTaskTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ public void checkFormattedEvent() {
276276

277277
Collection<SinkRecord> record = createSinkRecords(
278278
1, "{" +
279+
"\"index\":\"main\"," +
280+
"\"event\":\"Hello, world!\"," +
279281
"\"host\":\"host-01\"," +
280282
"\"source\":\"bu\"," +
281283
"\"fields\":{\"foo\":\"bar\",\"CLASS\":\"class1\",\"cust_id\":[\"000013934\",\"000013935\"]}}"

0 commit comments

Comments
 (0)