File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3535 needs :
3636 - workflow_approval
3737 steps :
38- - name : Checkout
38+ - name : Checkout
3939 uses : actions/checkout@v3
4040 with :
4141 ref : ${{github.event.pull_request.head.sha}}
@@ -245,7 +245,7 @@ jobs:
245245 cd /tmp && wget https://packages.confluent.io/archive/${{ matrix.confluent_major_version }}/confluent-community-${{ matrix.confluent_package_version }}.tar.gz
246246 sudo tar xzf confluent-community-${{ matrix.confluent_package_version }}.tar.gz
247247 cd confluent-${{ matrix.confluent_package_version }}
248- bin/schema-registry-start ./etc/schema-registry/schema-registry.properties &
248+ sudo bin/schema-registry-start ./etc/schema-registry/schema-registry.properties &
249249
250250 - name : Register the protobuf schema
251251 run : |
@@ -377,7 +377,7 @@ jobs:
377377 export PYTHONWARNINGS="ignore:Unverified HTTPS request"
378378 echo "Running functional tests....."
379379 python -m pytest --log-level=INFO
380-
380+
381381 - uses : actions/upload-artifact@v4
382382 if : failure()
383383 with :
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ def check_events_from_topic(target):
3535 class_name = "kafka.tools.GetOffsetShell"
3636 else :
3737 class_name = "org.apache.kafka.tools.GetOffsetShell"
38- output1 = subprocess .getoutput (f" echo $(/usr/local/kafka/bin/kafka-run-class.sh $ { class_name } --broker-list 'localhost:9092' --topic kafka_connect_upgrade --time -1 | grep -e ':[[:digit:]]*:' | awk -F ':' '{ sum + = $3 } END { print sum } ')" )
39- output2 = subprocess .getoutput (f"echo $(/usr/local/kafka/bin/kafka-run-class.sh $ { class_name } --broker-list 'localhost:9092' --topic kafka_connect_upgrade --time -2 | grep -e ':[[:digit:]]*:' | awk -F ':' '{ sum + = $3 } END { print sum } ')" )
38+ output1 = subprocess .getoutput (f"echo $(/usr/local/kafka/bin/kafka-run-class.sh { class_name } --broker-list 'localhost:9092' --topic kafka_connect_upgrade --time -1 | grep -e ':[[:digit:]]*:' | awk -F ':' '{ sum + = $3 } END { print sum } ')" )
39+ output2 = subprocess .getoutput (f"echo $(/usr/local/kafka/bin/kafka-run-class.sh { class_name } --broker-list 'localhost:9092' --topic kafka_connect_upgrade --time -2 | grep -e ':[[:digit:]]*:' | awk -F ':' '{ sum + = $3 } END { print sum } ')" )
4040 time .sleep (5 )
4141 if (int (output1 )- int (output2 ))== target :
4242 logger .info ("Events in the topic :" + str (int (output1 )- int (output2 )))
You can’t perform that action at this time.
0 commit comments