From c2f4c803a29380ec808f78cf4d744cd20ebc5d32 Mon Sep 17 00:00:00 2001 From: luky116 Date: Sat, 2 Mar 2024 19:42:42 +0800 Subject: [PATCH] remove test --- coverage.txt | 6 +++--- goimports.sh | 2 +- integrate_test.sh | 4 ++-- makefile | 2 +- pkg/rm/tcc/tcc_service_test.go | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/coverage.txt b/coverage.txt index 1349fa28e..1d90ca6f8 100644 --- a/coverage.txt +++ b/coverage.txt @@ -1,4 +1,4 @@ mode: atomic -github.com/seata/seata-go/pkg/rm/tcc/tcc_resource.go:20.51,22.2 1 0 -github.com/seata/seata-go/pkg/rm/tcc/tcc_resource.go:24.46,26.2 1 0 -github.com/seata/seata-go/pkg/rm/tcc/tcc_resource.go:28.56,30.2 1 0 +github.com/apache/seata-go/pkg/rm/tcc/tcc_resource.go:20.51,22.2 1 0 +github.com/apache/seata-go/pkg/rm/tcc/tcc_resource.go:24.46,26.2 1 0 +github.com/apache/seata-go/pkg/rm/tcc/tcc_resource.go:28.56,30.2 1 0 diff --git a/goimports.sh b/goimports.sh index 5fb713be1..5b59ab263 100755 --- a/goimports.sh +++ b/goimports.sh @@ -17,7 +17,7 @@ # format go imports style go install golang.org/x/tools/cmd/goimports -goimports -local github.com/seata/seata-go -w . +goimports -local github.com/apache/seata-go -w . # format licence style go install github.com/apache/skywalking-eyes/cmd/license-eye@latest diff --git a/integrate_test.sh b/integrate_test.sh index 19062de3b..81cccd91c 100644 --- a/integrate_test.sh +++ b/integrate_test.sh @@ -36,11 +36,11 @@ echo "github pull request base branch -> $3" echo "github pull request head branch -> ${GITHUB_HEAD_REF}" echo "use seata-go-samples $3 branch for integration testing" -git clone https://github.com/seata/seata-go-samples samples && cd samples +git clone https://github.com/apache/seata-go-samples samples && cd samples # update seata-go to current commit id -go mod edit -replace=github.com/seata/seata-go=github.com/"$1"@"$2" +go mod edit -replace=github.com/apache/seata-go=github.com/"$1"@"$2" go mod tidy diff --git a/makefile b/makefile index 19898982e..63fd7ef71 100644 --- a/makefile +++ b/makefile @@ -33,7 +33,7 @@ LICENSE_DIR = /tmp/tools/license # format import code format-import: go get -d github.com/dubbogo/tools/cmd/imports-formatter - imports-formatter -path . -module github.com/seata/seata-go -bl false + imports-formatter -path . -module github.com/apache/seata-go -bl false unit-test: go test ./pkg/... -coverprofile=coverage.txt -covermode=atomic diff --git a/pkg/rm/tcc/tcc_service_test.go b/pkg/rm/tcc/tcc_service_test.go index ba86899e0..729a71284 100644 --- a/pkg/rm/tcc/tcc_service_test.go +++ b/pkg/rm/tcc/tcc_service_test.go @@ -37,7 +37,7 @@ import ( "github.com/apache/seata-go/pkg/tm" "github.com/apache/seata-go/pkg/util/log" - //"github.com/seata/seata-go/sample/tcc/dubbo/client/service" + //"github.com/apache/seata-go/sample/tcc/dubbo/client/service" testdata2 "github.com/apache/seata-go/testdata" )