Skip to content

Commit

Permalink
Makes room for a more basic basic test
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Jul 28, 2017
1 parent 754fd2f commit 454bea4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/basic-produce-consume.yml → test/basic-with-kafkacat.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
kind: ConfigMap
metadata:
name: basic-produce-consume
name: basic-with-kafkacat
namespace: test-kafka
apiVersion: v1
data:
Expand All @@ -19,16 +19,16 @@ data:
unique=$(date -Ins)
echo "Test $unique" | kafkacat -P -b $BOOTSTRAP -t test-basic-produce-consume -v
kafkacat -C -b $BOOTSTRAP -t test-basic-produce-consume -o -1 -e | grep $unique
echo "Test $unique" | kafkacat -P -b $BOOTSTRAP -t test-basic-with-kafkacat -v
kafkacat -C -b $BOOTSTRAP -t test-basic-with-kafkacat -o -1 -e | grep $unique
exit 0
---
apiVersion: batch/v1
kind: Job
metadata:
name: basic-produce-consume
name: basic-with-kafkacat
namespace: test-kafka
spec:
template:
Expand All @@ -43,7 +43,7 @@ spec:
- --create
- --if-not-exists
- --topic
- test-basic-produce-consume
- test-basic-with-kafkacat
- --partitions
- "1"
- --replication-factor
Expand All @@ -53,7 +53,7 @@ spec:
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: basic-produce-consume
name: basic-with-kafkacat
namespace: test-kafka
spec:
replicas: 1
Expand All @@ -64,7 +64,7 @@ spec:
test-type: readiness
spec:
containers:
- name: kafka
- name: testcase
# common test images
#image: solsson/curl@sha256:8b0927b81d10043e70f3e05e33e36fb9b3b0cbfcbccdb9f04fd53f67a270b874
image: solsson/kafkacat@sha256:1266d140c52cb39bf314b6f22b6d7a01c4c9084781bc779fdfade51214a713a8
Expand Down Expand Up @@ -100,4 +100,4 @@ spec:
volumes:
- name: config
configMap:
name: basic-produce-consume
name: basic-with-kafkacat

0 comments on commit 454bea4

Please sign in to comment.