Skip to content

Commit 012a0f7

Browse files
authored
test: add preheat e2e testing for v2 (#3215)
Signed-off-by: Gaius <[email protected]>
1 parent 4e89071 commit 012a0f7

File tree

5 files changed

+454
-1
lines changed

5 files changed

+454
-1
lines changed

build/images/manager/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ ENV PATH=/opt/dragonfly/bin:$PATH
5050
RUN mkdir -p /opt/dragonfly/bin/manager/console \
5151
&& echo "hosts: files dns" > /etc/nsswitch.conf
5252

53+
RUN apk --no-cache add curl
54+
5355
COPY --from=server-builder /opt/dragonfly/bin/manager /opt/dragonfly/bin/server
5456
COPY --from=health /bin/grpc_health_probe /bin/grpc_health_probe
5557

build/images/scheduler/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ RUN if [ "$(uname -m)" = "ppc64le" ]; then \
3030
FROM ${BASE_IMAGE}
3131

3232
ENV PATH=/opt/dragonfly/bin:$PATH
33+
3334
RUN echo "hosts: files dns" > /etc/nsswitch.conf
3435

36+
RUN apk --no-cache add curl
37+
3538
COPY --from=builder /opt/dragonfly/bin/scheduler /opt/dragonfly/bin/scheduler
3639
COPY --from=health /bin/grpc_health_probe /bin/grpc_health_probe
3740

test/e2e/v2/e2e_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
. "github.com/onsi/ginkgo/v2" //nolint
2626
. "github.com/onsi/gomega" //nolint
2727

28-
// _ "d7y.io/dragonfly/v2/test/e2e/v2/manager"
28+
_ "d7y.io/dragonfly/v2/test/e2e/v2/manager"
2929
"d7y.io/dragonfly/v2/test/e2e/v2/util"
3030
)
3131

0 commit comments

Comments
 (0)