From c57bf8181490144a459dad0dbd526a157aaa10ea Mon Sep 17 00:00:00 2001 From: Kenneth Jia <48558845+kenneth-jia@users.noreply.github.com> Date: Mon, 1 Jul 2024 16:22:06 +0800 Subject: [PATCH] Try CI tests --- .github/workflows/kafka_api_ci_tests.yml | 2 ++ scripts/start-local-kafka-cluster.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/kafka_api_ci_tests.yml b/.github/workflows/kafka_api_ci_tests.yml index 1ca2a5e40..26d6044b9 100644 --- a/.github/workflows/kafka_api_ci_tests.yml +++ b/.github/workflows/kafka_api_ci_tests.yml @@ -300,6 +300,8 @@ jobs: # Install googletest vcpkg install gtest + ls "C:\VCPKG\INSTALLED\x86-windows\lib" + cp -v "C:\VCPKG\INSTALLED\x86-windows\lib\manual-link\gtest_main*" "C:\VCPKG\INSTALLED\x86-windows\lib\" cp -v "C:\VCPKG\INSTALLED\x86-windows\lib\manual-link\gtest_main*" "C:\VCPKG\INSTALLED\x86-windows\lib\" diff --git a/scripts/start-local-kafka-cluster.py b/scripts/start-local-kafka-cluster.py index 6856460b3..a39c0dec7 100755 --- a/scripts/start-local-kafka-cluster.py +++ b/scripts/start-local-kafka-cluster.py @@ -157,7 +157,7 @@ def main(): cmd = 'lsof -nP -iTCP:{0} | grep LISTEN'.format(brokerPort) cmdCall = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) (out, err) = cmdCall.communicate(); - matched = re.search('[^\s-]+ +([0-9]+) +.*', out.decode('utf-8')) + matched = re.search(r'[^\s-]+ +([0-9]+) +.*', out.decode('utf-8')) if matched: kafkaBrokerPids.append(matched.group(1))