From eab77535d0653ace4804f13e743240b99aa1b109 Mon Sep 17 00:00:00 2001 From: Joe Zou <yixian.zou@gmail.com> Date: Mon, 7 Sep 2020 18:14:26 +0800 Subject: [PATCH] Fix: integration testing problems --- test/integrate/dubbo/go-client/Dockerfile | 2 +- test/integrate/dubbo/go-server/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integrate/dubbo/go-client/Dockerfile b/test/integrate/dubbo/go-client/Dockerfile index 45bcae9ad..d452469c6 100644 --- a/test/integrate/dubbo/go-client/Dockerfile +++ b/test/integrate/dubbo/go-client/Dockerfile @@ -26,7 +26,7 @@ ARG PR_ORIGIN_REPO ARG PR_ORIGIN_COMMITID ADD . /go/src/github.com/apache/dubbo-go/test/integrate/dubbo/go-client -ADD go.main.mod /go/src/github.com/apache/dubbo-go/go.mod +ADD /go/src/github.com/apache/dubbo-go/go.mod /go/src/github.com/apache/dubbo-go/test/integrate/dubbo/go-client/go.main.mod # update dubbo-go to current commit id RUN test ${PR_ORIGIN_REPO} && echo "github.com/apache/dubbo-go will be replace to github.com/${PR_ORIGIN_REPO}@${PR_ORIGIN_COMMITID}" || echo 'go get github.com/apache/dubbo-go@develop' diff --git a/test/integrate/dubbo/go-server/Dockerfile b/test/integrate/dubbo/go-server/Dockerfile index b2ce6bdaa..6c2d19209 100644 --- a/test/integrate/dubbo/go-server/Dockerfile +++ b/test/integrate/dubbo/go-server/Dockerfile @@ -26,7 +26,7 @@ ARG PR_ORIGIN_REPO ARG PR_ORIGIN_COMMITID ADD . /go/src/github.com/apache/dubbo-go/test/integrate/dubbo/go-server -ADD go.main.mod /go/src/github.com/apache/dubbo-go/go.mod +ADD /go/src/github.com/apache/dubbo-go/go.mod /go/src/github.com/apache/dubbo-go/test/integrate/dubbo/go-server/go.main.mod # update dubbo-go to current commit id RUN test ${PR_ORIGIN_REPO} && echo "github.com/apache/dubbo-go will be replace to github.com/${PR_ORIGIN_REPO}@${PR_ORIGIN_COMMITID}" || echo 'go get github.com/apache/dubbo-go@develop' -- GitLab