diff --git a/filter/filter_impl/sentinel_filter_test.go b/filter/filter_impl/sentinel_filter_test.go index a1ca21ce6c634b9647e586df0ac97a51d3fae7cc..c6b6d4280f08099ce3eef8bf1e5a3c37e9e67c59 100644 --- a/filter/filter_impl/sentinel_filter_test.go +++ b/filter/filter_impl/sentinel_filter_test.go @@ -50,11 +50,11 @@ func TestSentinelFilter_QPS(t *testing.T) { _, err = flow.LoadRules([]*flow.Rule{ { - Resource: interfaceResourceName, + Resource: interfaceResourceName, //MetricType: flow.QPS, TokenCalculateStrategy: flow.Direct, ControlBehavior: flow.Reject, - Threshold: 100, + Threshold: 100, RelationStrategy: flow.CurrentResource, }, }) diff --git a/go.mod b/go.mod index e822ab4cf352c5808747f358dc831071cf6a4906..68465d19463939ffefe15a88eb0b9a82274803a6 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/apache/dubbo-go -go 1.15 +go 1.13 require ( github.com/NYTimes/gziphandler v1.1.1 // indirect