Browse Source

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 5 years ago
parent
commit
8ef2eabcfa
1 changed files with 2 additions and 0 deletions
  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