Skip to content

Commit

Permalink
codecov:1.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chuntaojun committed Jan 8, 2024
1 parent fd48261 commit 7077588
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion common/model/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ import (
"fmt"
"time"

commontime "github.com/polarismesh/polaris/common/time"
apiservice "github.com/polarismesh/specification/source/go/api/v1/service_manage"

commontime "github.com/polarismesh/polaris/common/time"
)

type ServiceContract struct {
Expand Down
2 changes: 1 addition & 1 deletion config/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ func TestServer_GetConfigGroupsWithCache(t *testing.T) {
// 同一个 revision 查询
rsp = testSuit.ConfigServer().GetConfigGroupsWithCache(testSuit.DefaultCtx, &apiconfig.ClientConfigFileInfo{
Namespace: wrapperspb.String("ns-0"),
Md5: wrapperspb.String(rsp.GetRevision()),
Md5: wrapperspb.String(rsp.GetRevision()),
})
assert.Equal(t, uint32(apimodel.Code_DataNoChange), rsp.Code, rsp.Info)

Expand Down
3 changes: 2 additions & 1 deletion config/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ import (
"testing"

"github.com/golang/mock/gomock"
"github.com/stretchr/testify/assert"

mockcache "github.com/polarismesh/polaris/cache/mock"
"github.com/polarismesh/polaris/common/eventhub"
mockstore "github.com/polarismesh/polaris/store/mock"
"github.com/stretchr/testify/assert"
)

func Test_Initialize(t *testing.T) {
Expand Down

0 comments on commit 7077588

Please sign in to comment.