Skip to content

Commit 91dcd7e

Browse files
committed
Enable kafka sink integration tests as a github workflow action
Signed-off-by: Taylor Gray <tylgry@amazon.com>
1 parent 332c4ce commit 91dcd7e

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/kafka-plugin-integration-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ jobs:
6666
-Dtests.kafka.bootstrap_servers=localhost:9092 \
6767
-Dtests.kafka.authconfig.username=admin -Dtests.kafka.authconfig.password=admin \
6868
-Dtests.kafka.kms_key=alias/DataPrepperTesting \
69-
--tests '*kafka.buffer*' --tests KafkaSourceJsonTypeIT --tests KafkaBufferOTelIT
69+
--tests '*kafka.buffer*' --tests KafkaSourceJsonTypeIT --tests KafkaBufferOTelIT \
70+
--tests '*kafka.sink*'
7071
7172
- name: Upload Unit Test Results
7273
if: always()

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ data-prepper-main/src/test/resources/logstash-conf/logstash-filter.yaml
1515

1616
# Eclipse/IDE compiled output
1717
**/bin/
18+
*.project
19+
*.classpath
20+
*.factorypath
21+
**/.settings/**
22+
*.prefs
1823

1924
# Development tools
2025
.DS_Store

data-prepper-plugins/kafka-plugins/src/integrationTest/java/org/opensearch/dataprepper/plugins/kafka/sink/KafkaSinkAvroTypeIT.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060
import static org.mockito.Mockito.mock;
6161
import static org.mockito.Mockito.when;
6262

63+
64+
/**
65+
* Enabled as a github action workflow
66+
*/
6367
public class KafkaSinkAvroTypeIT {
6468
private static final int TEST_ID = 123456;
6569

0 commit comments

Comments
 (0)