Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
louyuting committed Sep 3, 2020
1 parent ae375aa commit 45a24e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ext/datasource/helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ func TestFlowRulesJsonConverter(t *testing.T) {
Count: 200,
RelationStrategy: flow.AssociatedResource,
ControlStrategy: flow.ControlStrategy{
AllocationStrategy: flow.WarmUp,
ControlEffect: flow.Reject,
AllocationStrategy: flow.Default,
ControlEffect: flow.Throttling,
},
RefResource: "refDefault",
WarmUpPeriodSec: 20,
Expand All @@ -85,8 +85,8 @@ func TestFlowRulesJsonConverter(t *testing.T) {
Count: 300,
RelationStrategy: flow.Direct,
ControlStrategy: flow.ControlStrategy{
AllocationStrategy: flow.WarmUp,
ControlEffect: flow.Reject,
AllocationStrategy: flow.Default,
ControlEffect: flow.Throttling,
},
RefResource: "refDefault",
WarmUpPeriodSec: 30,
Expand Down

0 comments on commit 45a24e9

Please sign in to comment.