Fix context error in grpc (#962)
* Fix context error in rpc * Add a test case * Optimize judgment conditions * Add customized breaker errors for the client and server * Update method signature * Delete customized breaker errors * Delete the wrong test case
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
)
|
||||
|
||||
func TestAccept(t *testing.T) {
|
||||
|
||||
tests := []struct {
|
||||
name string
|
||||
err error
|
||||
|
||||
Reference in New Issue
Block a user