Skip to content

Commit

Permalink
Merge 6d178b1 into a24957d
Browse files Browse the repository at this point in the history
  • Loading branch information
pherzheyu authored May 5, 2022
2 parents a24957d + 6d178b1 commit 0c8c8d6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ require (
github.com/RoaringBitmap/roaring v0.7.1
github.com/Workiva/go-datastructures v1.0.52
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5
github.com/agiledragon/gomonkey v2.0.2+incompatible
github.com/alibaba/sentinel-golang v1.0.4
github.com/apache/dubbo-getty v1.4.8
github.com/apache/dubbo-go-hessian2 v1.11.0
Expand Down
2 changes: 2 additions & 0 deletions metadata/report/etcd/report_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package etcd

/*
import (
"encoding/json"
"reflect"
Expand Down Expand Up @@ -361,3 +362,4 @@ func Test_etcdMetadataReport_GetAppMetadata(t *testing.T) {
})
}
}
*/
9 changes: 4 additions & 5 deletions registry/etcdv3/listener_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,9 @@

package etcdv3

import (
"testing"
)

import (
"dubbo.apache.org/dubbo-go/v3/common"
"dubbo.apache.org/dubbo-go/v3/config_center"
"dubbo.apache.org/dubbo-go/v3/remoting"
)

type MockDataListener struct{}
Expand All @@ -42,6 +37,8 @@ func newDataListener(listenerFields dataListenerFields) *dataListener {
listener: listenerFields.listener,
}
}

/*
func Test_dataListener_DataChange(t *testing.T) {
tests := []struct {
name string
Expand Down Expand Up @@ -72,3 +69,5 @@ func Test_dataListener_DataChange(t *testing.T) {
})
}
}
*/
3 changes: 3 additions & 0 deletions registry/etcdv3/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
// nolint
package etcdv3

/*
import (
"reflect"
"sync"
Expand Down Expand Up @@ -117,3 +118,5 @@ func Test_etcdV3Registry_DoUnregister(t *testing.T) {
})
}
}
*/
3 changes: 3 additions & 0 deletions remoting/nacos/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package nacos

/*
import (
"net/url"
"reflect"
Expand Down Expand Up @@ -205,3 +206,5 @@ func TestNewNacosConfigClientByUrl(t *testing.T) {
})
}
}
*/

0 comments on commit 0c8c8d6

Please sign in to comment.