Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsExpectedGRPCError (0.16 sec)

  1. pilot/pkg/grpc/grpc_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package grpc
    
    import (
    	"errors"
    	"testing"
    )
    
    func TestIsExpectedGRPCError(t *testing.T) {
    	err := errors.New("code = Internal desc = stream terminated by RST_STREAM with error code: NO_ERROR")
    	if got := IsExpectedGRPCError(err); !got {
    		t.Fatalf("expected true, got %v", got)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 15 16:28:30 UTC 2021
    - 871 bytes
    - Viewed (0)
Back to top