Explorar el Código

Fix incompatible code between main and the interceptors feature branch (#1037)

Motivation:

The generated code in the interceptors feature branch includes new
protocol requirements. Some tests added recently in #1033 to main don't
meet these requirements.

Modifications:

- Add the missing requirements

Result:

Feature branch compiles when rebased on 'main'.
George Barnett hace 5 años
padre
commit
8ef2eabcfa
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      Tests/GRPCTests/ClientTLSTests.swift

+ 2 - 0
Tests/GRPCTests/ClientTLSTests.swift

@@ -168,6 +168,8 @@ class ClientTLSHostnameOverrideTests: GRPCTestCase {
 }
 
 private class AuthorityCheckingEcho: Echo_EchoProvider {
+  var interceptors: Echo_EchoServerInterceptorFactoryProtocol?
+
   func get(
     request: Echo_EchoRequest,
     context: StatusOnlyCallContext