diff --git a/integration_tests/kafka-cdc-sink/Makefile.toml b/integration_tests/kafka-cdc-sink/Makefile.toml index 3931b80fca48..362eeccdf92c 100644 --- a/integration_tests/kafka-cdc-sink/Makefile.toml +++ b/integration_tests/kafka-cdc-sink/Makefile.toml @@ -18,32 +18,13 @@ dependencies = ["start-cluster"] [tasks.setup-pg] script = """ -docker run \ - --network risingwave-compose_default \ - -v ./:/tmp/ \ - --env PGPASSWORD=123456 \ - postgres:14.7 \ - psql \ - -h postgres \ - -p 5432 \ - -d mydb \ - -U myuser \ - -f /tmp/pg.sql +PGPASSWORD=123456 psql -h localhost -p 5432 -d mydb -U myuser -f pg.sql """ dependencies = ["start-cluster"] [tasks.setup-risingwave] script = """ -docker run \ - --network risingwave-compose_default \ - -v ./:/tmp/ \ - postgres:14.7 \ - psql \ - -h frontend-node-0 \ - -p 4566 \ - -d dev \ - -U root \ - -f /tmp/risingwave.sql +psql -h localhost -p 4566 -d dev -U root -f risingwave.sql """ dependencies = ["setup-kafka"]