Skip to content

Commit 717a7dc

Browse files
author
prateek.khatri
committed
increasing the timeouts for producer-tests
1 parent 4b226a7 commit 717a7dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ziggurat/producer_test.clj

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
value "Hello World!!"
4646
partition (int 0)]
4747
(send :default topic partition key value)
48-
(let [result (IntegrationTestUtils/waitUntilMinKeyValueRecordsReceived *consumer-properties* topic 1 5000)]
48+
(let [result (IntegrationTestUtils/waitUntilMinKeyValueRecordsReceived *consumer-properties* topic 1 7000)]
4949
(is (= value (.value (first result))))))))
5050

5151
(deftest send-throws-exception-when-no-producers-are-configured
@@ -75,7 +75,7 @@
7575
value "Hello World!!"]
7676
(.reset tracer)
7777
(send :default topic key value)
78-
(let [result (IntegrationTestUtils/waitUntilMinKeyValueRecordsReceived *consumer-properties* topic 1 5000)
78+
(let [result (IntegrationTestUtils/waitUntilMinKeyValueRecordsReceived *consumer-properties* topic 1 7000)
7979
finished-spans (.finishedSpans tracer)]
8080
(is (= value (.value (first result))))
8181
(is (= 1 (.size finished-spans)))

0 commit comments

Comments
 (0)