Skip to content

Commit a435b7d

Browse files
authored
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
1 parent c379915 commit a435b7d

File tree

1 file changed

+0
-165
lines changed

1 file changed

+0
-165
lines changed

Tests/GRPCTests/GRPCInteroperabilityTests.swift

Lines changed: 0 additions & 165 deletions
Original file line numberDiff line numberDiff line change
@@ -170,88 +170,6 @@ class GRPCInsecureInteroperabilityTests: GRPCTestCase {
170170
}
171171
}
172172

173-
#if canImport(NIOSSL)
174-
class GRPCSecureInteroperabilityTests: GRPCInsecureInteroperabilityTests {
175-
override var useTLS: Bool { return true }
176-
177-
override func testEmptyUnary() {
178-
super.testEmptyUnary()
179-
}
180-
181-
override func testCacheableUnary() {
182-
super.testCacheableUnary()
183-
}
184-
185-
override func testLargeUnary() {
186-
super.testLargeUnary()
187-
}
188-
189-
override func testClientCompressedUnary() {
190-
super.testClientCompressedUnary()
191-
}
192-
193-
override func testServerCompressedUnary() {
194-
super.testServerCompressedUnary()
195-
}
196-
197-
override func testClientStreaming() {
198-
super.testClientStreaming()
199-
}
200-
201-
override func testClientCompressedStreaming() {
202-
super.testClientCompressedStreaming()
203-
}
204-
205-
override func testServerStreaming() {
206-
super.testServerStreaming()
207-
}
208-
209-
override func testServerCompressedStreaming() {
210-
super.testServerCompressedStreaming()
211-
}
212-
213-
override func testPingPong() {
214-
super.testPingPong()
215-
}
216-
217-
override func testEmptyStream() {
218-
super.testEmptyStream()
219-
}
220-
221-
override func testCustomMetadata() {
222-
super.testCustomMetadata()
223-
}
224-
225-
override func testStatusCodeAndMessage() {
226-
super.testStatusCodeAndMessage()
227-
}
228-
229-
override func testSpecialStatusAndMessage() {
230-
super.testSpecialStatusAndMessage()
231-
}
232-
233-
override func testUnimplementedMethod() {
234-
super.testUnimplementedMethod()
235-
}
236-
237-
override func testUnimplementedService() {
238-
super.testUnimplementedService()
239-
}
240-
241-
override func testCancelAfterBegin() {
242-
super.testCancelAfterBegin()
243-
}
244-
245-
override func testCancelAfterFirstResponse() {
246-
super.testCancelAfterFirstResponse()
247-
}
248-
249-
override func testTimeoutOnSleepingServer() {
250-
super.testTimeoutOnSleepingServer()
251-
}
252-
}
253-
#endif // canImport(NIOSSL)
254-
255173
@available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
256174
class GRPCInsecureInteroperabilityAsyncTests: GRPCInsecureInteroperabilityTests {
257175
override func makeProvider() -> CallHandlerProvider {
@@ -334,86 +252,3 @@ class GRPCInsecureInteroperabilityAsyncTests: GRPCInsecureInteroperabilityTests
334252
super.testClientCompressedUnary()
335253
}
336254
}
337-
338-
#if canImport(NIOSSL)
339-
@available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
340-
class GRPCSecureInteroperabilityAsyncTests: GRPCInsecureInteroperabilityAsyncTests {
341-
override var useTLS: Bool { return true }
342-
343-
override func testServerStreaming() {
344-
super.testServerStreaming()
345-
}
346-
347-
override func testLargeUnary() {
348-
super.testLargeUnary()
349-
}
350-
351-
override func testServerCompressedUnary() {
352-
super.testServerCompressedUnary()
353-
}
354-
355-
override func testUnimplementedMethod() {
356-
super.testUnimplementedMethod()
357-
}
358-
359-
override func testServerCompressedStreaming() {
360-
super.testServerCompressedStreaming()
361-
}
362-
363-
override func testCustomMetadata() {
364-
super.testCustomMetadata()
365-
}
366-
367-
override func testCancelAfterBegin() {
368-
super.testCancelAfterBegin()
369-
}
370-
371-
override func testClientStreaming() {
372-
super.testClientStreaming()
373-
}
374-
375-
override func testCacheableUnary() {
376-
super.testCacheableUnary()
377-
}
378-
379-
override func testSpecialStatusAndMessage() {
380-
super.testSpecialStatusAndMessage()
381-
}
382-
383-
override func testTimeoutOnSleepingServer() {
384-
super.testTimeoutOnSleepingServer()
385-
}
386-
387-
override func testClientCompressedUnary() {
388-
super.testClientCompressedUnary()
389-
}
390-
391-
override func testStatusCodeAndMessage() {
392-
super.testStatusCodeAndMessage()
393-
}
394-
395-
override func testCancelAfterFirstResponse() {
396-
super.testCancelAfterFirstResponse()
397-
}
398-
399-
override func testPingPong() {
400-
super.testPingPong()
401-
}
402-
403-
override func testEmptyStream() {
404-
super.testEmptyStream()
405-
}
406-
407-
override func testEmptyUnary() {
408-
super.testEmptyUnary()
409-
}
410-
411-
override func testUnimplementedService() {
412-
super.testUnimplementedService()
413-
}
414-
415-
override func testClientCompressedStreaming() {
416-
super.testClientCompressedStreaming()
417-
}
418-
}
419-
#endif // canImport(NIOSSL)

0 commit comments

Comments
 (0)