Skip to content

Commit

Permalink
fix(text): comparison of functions in TestClientOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
lhpqaq committed Jul 27, 2024
1 parent 3412642 commit 91c136c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/app/client/option_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ func TestClientOptions(t *testing.T) {
assert.DeepEqual(t, 5*time.Second, opt.RetryConfig.MaxDelay)
assert.DeepEqual(t, 1*time.Second, opt.RetryConfig.MaxJitter)
assert.DeepEqual(t, 1*time.Second, opt.ObservationInterval)
assert.DeepEqual(t, fmt.Sprint(retry.CombineDelay(retry.FixedDelayPolicy, retry.BackOffDelayPolicy, retry.RandomDelayPolicy)), fmt.Sprint(opt.RetryConfig.DelayPolicy))
assert.DeepEqual(t, fmt.Sprintf("%T", retry.CombineDelay(retry.FixedDelayPolicy, retry.BackOffDelayPolicy, retry.RandomDelayPolicy)), fmt.Sprintf("%T", opt.RetryConfig.DelayPolicy))
}

0 comments on commit 91c136c

Please sign in to comment.