Skip to content

Commit 454bea4

Browse files
committed
Makes room for a more basic basic test
1 parent 754fd2f commit 454bea4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/basic-produce-consume.yml renamed to test/basic-with-kafkacat.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
kind: ConfigMap
33
metadata:
4-
name: basic-produce-consume
4+
name: basic-with-kafkacat
55
namespace: test-kafka
66
apiVersion: v1
77
data:
@@ -19,16 +19,16 @@ data:
1919
2020
unique=$(date -Ins)
2121
22-
echo "Test $unique" | kafkacat -P -b $BOOTSTRAP -t test-basic-produce-consume -v
23-
kafkacat -C -b $BOOTSTRAP -t test-basic-produce-consume -o -1 -e | grep $unique
22+
echo "Test $unique" | kafkacat -P -b $BOOTSTRAP -t test-basic-with-kafkacat -v
23+
kafkacat -C -b $BOOTSTRAP -t test-basic-with-kafkacat -o -1 -e | grep $unique
2424
2525
exit 0
2626
2727
---
2828
apiVersion: batch/v1
2929
kind: Job
3030
metadata:
31-
name: basic-produce-consume
31+
name: basic-with-kafkacat
3232
namespace: test-kafka
3333
spec:
3434
template:
@@ -43,7 +43,7 @@ spec:
4343
- --create
4444
- --if-not-exists
4545
- --topic
46-
- test-basic-produce-consume
46+
- test-basic-with-kafkacat
4747
- --partitions
4848
- "1"
4949
- --replication-factor
@@ -53,7 +53,7 @@ spec:
5353
apiVersion: apps/v1beta1
5454
kind: Deployment
5555
metadata:
56-
name: basic-produce-consume
56+
name: basic-with-kafkacat
5757
namespace: test-kafka
5858
spec:
5959
replicas: 1
@@ -64,7 +64,7 @@ spec:
6464
test-type: readiness
6565
spec:
6666
containers:
67-
- name: kafka
67+
- name: testcase
6868
# common test images
6969
#image: solsson/curl@sha256:8b0927b81d10043e70f3e05e33e36fb9b3b0cbfcbccdb9f04fd53f67a270b874
7070
image: solsson/kafkacat@sha256:1266d140c52cb39bf314b6f22b6d7a01c4c9084781bc779fdfade51214a713a8
@@ -100,4 +100,4 @@ spec:
100100
volumes:
101101
- name: config
102102
configMap:
103-
name: basic-produce-consume
103+
name: basic-with-kafkacat

0 commit comments

Comments
 (0)