Skip to content

Commit

Permalink
fix: fix pulsar e2e network failure (#15689)
Browse files Browse the repository at this point in the history
  • Loading branch information
tabVersion authored Mar 15, 2024
1 parent 2a03233 commit e73fc89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ci/scripts/e2e-pulsar-sink-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ HTTP_CODE=404
MAX_RETRY=20
while [[ $HTTP_CODE -ne 200 && MAX_RETRY -gt 0 ]]
do
HTTP_CODE=$(curl --connect-timeout 2 -s -o /dev/null -w ''%{http_code}'' http://pulsar:8080/admin/v2/clusters)
HTTP_CODE=$(curl --connect-timeout 2 -s -o /dev/null -w ''%{http_code}'' http://pulsar-server:8080/admin/v2/clusters)
echo Got HTTP Code: $HTTP_CODE
((MAX_RETRY--))
sleep 5
Expand Down
4 changes: 2 additions & 2 deletions e2e_test/sink/pulsar_sink.slt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ WITH (
type='upsert',
primary_key='id',
topic='persistent://public/default/rw',
service.url='pulsar://pulsar:6650',
service.url='pulsar://pulsar-server:6650',
);

statement ok
Expand All @@ -32,7 +32,7 @@ CREATE TABLE pulsar_source (
WITH (
connector='pulsar',
topic='persistent://public/default/rw',
service.url='pulsar://pulsar:6650',
service.url='pulsar://pulsar-server:6650',
scan.startup.mode='earliest',
) FORMAT PLAIN ENCODE JSON;

Expand Down

0 comments on commit e73fc89

Please sign in to comment.