From 559c7895d430916e5c61c51032b5a8553d777ebe Mon Sep 17 00:00:00 2001 From: ran Date: Thu, 25 Apr 2024 17:25:07 +0800 Subject: [PATCH] Fix integration test due to invalid package storage path (#898) --- tests/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/Dockerfile b/tests/Dockerfile index f0a5ecd8..7836b185 100644 --- a/tests/Dockerfile +++ b/tests/Dockerfile @@ -20,8 +20,11 @@ ARG PULSAR_IMAGE_TAG FROM streamnative/pulsar:${PULSAR_IMAGE_TAG} +USER root + ### Add connector COPY ./src/test/resources/pulsar-io-amqp1_0.nar /pulsar/connectors/pulsar-io-amqp1_0.nar COPY ./src/test/resources/amqp1_0-source-config.yaml /pulsar/amqp1_0-source-config.yaml COPY ./src/test/resources/amqp1_0-sink-config.yaml /pulsar/amqp1_0-sink-config.yaml -COPY ./src/test/resources/amqp1_0-source-config-session-mode.yaml /pulsar/amqp1_0-source-config-session-mode.yaml \ No newline at end of file +COPY ./src/test/resources/amqp1_0-source-config-session-mode.yaml /pulsar/amqp1_0-source-config-session-mode.yaml +RUN mkdir -p /pulsar/packages-storage