Browse Source

Remove interop tests using TLS (#2208)

Motivation:

The interop using TLS are currently failing because of expired certs.
The certs come from upstream where they haven't been updated so we can't
simply update them here. There's no loss of coverage here: we have
plenty of other tests using TLS.

Modifications:

- Remove tests which rely on expired certs which we can't update

Result:

Tests pass
George Barnett 8 months ago
parent
commit
a435b7dacd
1 changed files with 0 additions and 165 deletions
  1. 0 165
      Tests/GRPCTests/GRPCInteroperabilityTests.swift

+ 0 - 165
Tests/GRPCTests/GRPCInteroperabilityTests.swift

@@ -170,88 +170,6 @@ class GRPCInsecureInteroperabilityTests: GRPCTestCase {
   }
 }
 
-#if canImport(NIOSSL)
-class GRPCSecureInteroperabilityTests: GRPCInsecureInteroperabilityTests {
-  override var useTLS: Bool { return true }
-
-  override func testEmptyUnary() {
-    super.testEmptyUnary()
-  }
-
-  override func testCacheableUnary() {
-    super.testCacheableUnary()
-  }
-
-  override func testLargeUnary() {
-    super.testLargeUnary()
-  }
-
-  override func testClientCompressedUnary() {
-    super.testClientCompressedUnary()
-  }
-
-  override func testServerCompressedUnary() {
-    super.testServerCompressedUnary()
-  }
-
-  override func testClientStreaming() {
-    super.testClientStreaming()
-  }
-
-  override func testClientCompressedStreaming() {
-    super.testClientCompressedStreaming()
-  }
-
-  override func testServerStreaming() {
-    super.testServerStreaming()
-  }
-
-  override func testServerCompressedStreaming() {
-    super.testServerCompressedStreaming()
-  }
-
-  override func testPingPong() {
-    super.testPingPong()
-  }
-
-  override func testEmptyStream() {
-    super.testEmptyStream()
-  }
-
-  override func testCustomMetadata() {
-    super.testCustomMetadata()
-  }
-
-  override func testStatusCodeAndMessage() {
-    super.testStatusCodeAndMessage()
-  }
-
-  override func testSpecialStatusAndMessage() {
-    super.testSpecialStatusAndMessage()
-  }
-
-  override func testUnimplementedMethod() {
-    super.testUnimplementedMethod()
-  }
-
-  override func testUnimplementedService() {
-    super.testUnimplementedService()
-  }
-
-  override func testCancelAfterBegin() {
-    super.testCancelAfterBegin()
-  }
-
-  override func testCancelAfterFirstResponse() {
-    super.testCancelAfterFirstResponse()
-  }
-
-  override func testTimeoutOnSleepingServer() {
-    super.testTimeoutOnSleepingServer()
-  }
-}
-#endif  // canImport(NIOSSL)
-
 @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
 class GRPCInsecureInteroperabilityAsyncTests: GRPCInsecureInteroperabilityTests {
   override func makeProvider() -> CallHandlerProvider {
@@ -334,86 +252,3 @@ class GRPCInsecureInteroperabilityAsyncTests: GRPCInsecureInteroperabilityTests
     super.testClientCompressedUnary()
   }
 }
-
-#if canImport(NIOSSL)
-@available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
-class GRPCSecureInteroperabilityAsyncTests: GRPCInsecureInteroperabilityAsyncTests {
-  override var useTLS: Bool { return true }
-
-  override func testServerStreaming() {
-    super.testServerStreaming()
-  }
-
-  override func testLargeUnary() {
-    super.testLargeUnary()
-  }
-
-  override func testServerCompressedUnary() {
-    super.testServerCompressedUnary()
-  }
-
-  override func testUnimplementedMethod() {
-    super.testUnimplementedMethod()
-  }
-
-  override func testServerCompressedStreaming() {
-    super.testServerCompressedStreaming()
-  }
-
-  override func testCustomMetadata() {
-    super.testCustomMetadata()
-  }
-
-  override func testCancelAfterBegin() {
-    super.testCancelAfterBegin()
-  }
-
-  override func testClientStreaming() {
-    super.testClientStreaming()
-  }
-
-  override func testCacheableUnary() {
-    super.testCacheableUnary()
-  }
-
-  override func testSpecialStatusAndMessage() {
-    super.testSpecialStatusAndMessage()
-  }
-
-  override func testTimeoutOnSleepingServer() {
-    super.testTimeoutOnSleepingServer()
-  }
-
-  override func testClientCompressedUnary() {
-    super.testClientCompressedUnary()
-  }
-
-  override func testStatusCodeAndMessage() {
-    super.testStatusCodeAndMessage()
-  }
-
-  override func testCancelAfterFirstResponse() {
-    super.testCancelAfterFirstResponse()
-  }
-
-  override func testPingPong() {
-    super.testPingPong()
-  }
-
-  override func testEmptyStream() {
-    super.testEmptyStream()
-  }
-
-  override func testEmptyUnary() {
-    super.testEmptyUnary()
-  }
-
-  override func testUnimplementedService() {
-    super.testUnimplementedService()
-  }
-
-  override func testClientCompressedStreaming() {
-    super.testClientCompressedStreaming()
-  }
-}
-#endif  // canImport(NIOSSL)