Skip to content

Commit

Permalink
Remove incorrect test
Browse files Browse the repository at this point in the history
  • Loading branch information
mahipjain committed Jul 17, 2023
1 parent 224020c commit a8e3a0c
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions runtime/tchannel_client_test.go
Expand Up @@ -142,20 +142,3 @@ func TestRetryOnDefault(t *testing.T) {
retryOn := contextBuilder.RetryOptions.RetryOn
assert.Equal(t, retryOn, tchannel.RetryDefault)
}

func TestRetryOnSet(t *testing.T) {
methodName := map[string]string{
"methodKey": "methodValue",
}
tChannelClient := &TChannelClient{
serviceName: "test",
methodNames: methodName,
timeout: 1,
retryOn: tchannel.RetryIdempotent,
}
ctx := context.TODO()
retryOpts := tchannel.RetryOptions{}
contextBuilder := tchannel.NewContextBuilder(tChannelClient.timeout).SetParentContext(ctx).SetRetryOptions(&retryOpts)
retryOn := contextBuilder.RetryOptions.RetryOn
assert.Equal(t, retryOn, tchannel.RetryIdempotent)
}

0 comments on commit a8e3a0c

Please sign in to comment.