From e6f7cc42582bf1b995c6f17fad7bd2b059294e83 Mon Sep 17 00:00:00 2001 From: Maciej Mensfeld Date: Fri, 22 Sep 2023 11:10:01 +0200 Subject: [PATCH 1/2] use zookeeper timetick default --- docker-compose.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index f58b52f3..b867d9a9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,6 @@ services: image: confluentinc/cp-zookeeper:7.5.0 environment: ZOOKEEPER_CLIENT_PORT: 2181 - ZOOKEEPER_TICK_TIME: 100 kafka: container_name: waterdrop_kafka From bbfb27efbffb2b5f33670ce5833b9c557a942ec0 Mon Sep 17 00:00:00 2001 From: Maciej Mensfeld Date: Fri, 22 Sep 2023 11:15:59 +0200 Subject: [PATCH 2/2] stabilize spec --- .../instrumentation/vendors/datadog/metrics_listener_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/waterdrop/instrumentation/vendors/datadog/metrics_listener_spec.rb b/spec/lib/waterdrop/instrumentation/vendors/datadog/metrics_listener_spec.rb index 3ea373a7..b1a14069 100644 --- a/spec/lib/waterdrop/instrumentation/vendors/datadog/metrics_listener_spec.rb +++ b/spec/lib/waterdrop/instrumentation/vendors/datadog/metrics_listener_spec.rb @@ -229,7 +229,7 @@ def initialize before do producer.produce_async(topic: rand.to_s, payload: rand.to_s) - sleep(0.5) + sleep(1) end it 'expect error count to increase' do