Fix NATS JetStream conformance tests
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
This commit is contained in:
parent
986a5246fe
commit
9bfb0b1718
|
@ -0,0 +1,19 @@
|
|||
version: '2'
|
||||
|
||||
services:
|
||||
nats:
|
||||
image: nats:2.9.9
|
||||
ports:
|
||||
- "4222:4222"
|
||||
networks: ["nats"]
|
||||
command: "--js"
|
||||
startup:
|
||||
image: natsio/nats-box
|
||||
networks: ["nats"]
|
||||
depends_on:
|
||||
- nats
|
||||
entrypoint: sh -c "sleep 5 && nats -s nats:4222 stream add pubsub --subjects testTopic,multiTopic1,multiTopic2,testTopicBulk --storage=file --replicas=1 --retention=limits --discard=old --max-msgs=-1 --max-msgs-per-subject=-1 --max-bytes=-1 --max-age=-1 --max-msg-size=-1 --dupe-window=2m0s --no-allow-rollup --no-deny-delete --no-deny-purge"
|
||||
|
||||
networks:
|
||||
nats:
|
||||
name: nats
|
|
@ -373,6 +373,11 @@ jobs:
|
|||
run: docker-compose -f ./.github/infrastructure/docker-compose-kubemq.yml -p kubemq up -d
|
||||
if: contains(matrix.component, 'kubemq')
|
||||
|
||||
- name: Start nats with JetStream
|
||||
run: |
|
||||
docker-compose -f ./.github/infrastructure/docker-compose-jetstream.yml up -p jetstream -d
|
||||
if: contains(matrix.component, 'jetstream')
|
||||
|
||||
- name: Setup KinD test data
|
||||
if: contains(matrix.component, 'kubernetes')
|
||||
run: |
|
||||
|
|
|
@ -12,3 +12,5 @@ spec:
|
|||
value: config-test
|
||||
- name: flowControl
|
||||
value: true
|
||||
- name: hearbeat
|
||||
value: 5s
|
||||
|
|
Loading…
Reference in New Issue