Skip to content

Commit b5084cc

Browse files
Merge #3
3: Fix test env variables r=Jaskaranbir a=Jaskaranbir Co-authored-by: Jaskaranbir <[email protected]>
2 parents 30798a2 + 3188165 commit b5084cc

File tree

4 files changed

+4
-28
lines changed

4 files changed

+4
-28
lines changed

main/.env

Lines changed: 0 additions & 23 deletions
This file was deleted.

run_test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ else
3636
fi
3737

3838
echo "Waiting additional time for Cassandra to be ready."
39-
add_wait=20
39+
add_wait=30
4040
cur_add_wait=0
4141
while (( ++cur_add_wait != add_wait ))
4242
do
@@ -62,4 +62,4 @@ sleep 5
6262
docker ps -a
6363

6464
docker-compose up --build --force-recreate agg-inventory-query-test
65-
exit $?
65+
docker ps -a

test/.env.agg-inventory-cmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ KAFKA_BROKERS=kafka:9092
44
KAFKA_CONSUMER_EVENT_GROUP=agg.inventory.cmd.event.1
55
KAFKA_CONSUMER_EVENT_QUERY_GROUP=agg.inventory.cmd.eq.1
66

7-
KAFKA_CONSUMER_EVENT_TOPIC=event.persistence.response.2
8-
KAFKA_CONSUMER_EVENT_QUERY_TOPIC=esquery.response.2
7+
KAFKA_CONSUMER_EVENT_TOPIC=event.persistence.response
8+
KAFKA_CONSUMER_EVENT_QUERY_TOPIC=esquery.response
99
KAFKA_PRODUCER_EVENT_TOPIC=event.rns_eventstore.events
1010
KAFKA_PRODUCER_EVENT_QUERY_TOPIC=esquery.request
1111
KAFKA_PRODUCER_RESPONSE_TOPIC=agg.inventory.response

test/inventory_suite_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ var _ = Describe("InventoryAggregate", func() {
178178

179179
result := []inventory.Inventory{}
180180
err = json.Unmarshal(kr.Result, &result)
181-
log.Println(err)
182181
Expect(err).ToNot(HaveOccurred())
183182

184183
for _, r := range result {

0 commit comments

Comments
 (0)