This repository has been archived on 2022-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
|
package grpc
|
|
|
|
import "testing"
|
|
|
|
func TestBackoffConfigDefaults(t *testing.T) {
|
|
b := BackoffConfig{}
|
|
setDefaults(&b)
|
|
if b != DefaultBackoffConfig {
|
|
t.Fatalf("expected BackoffConfig to pickup default parameters: %v != %v", b, DefaultBackoffConfig)
|
|
}
|
|
}
|