Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
luky116 committed Mar 2, 2024
1 parent f311bee commit c2f4c80
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions coverage.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion goimports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions integrate_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/rm/tcc/tcc_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down

0 comments on commit c2f4c80

Please sign in to comment.