Skip to content

Commit a6e4252

Browse files
committed
Skip a couple of flaky tests
1 parent 97e0383 commit a6e4252

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

WordPressKit/Tests/CoreAPITests/WordPressOrgXMLRPCValidatorTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ final class WordPressOrgXMLRPCValidatorTests: XCTestCase {
285285
}
286286

287287
func testMobilePluginRedirectedError() throws {
288+
try XCTSkipIf(true, "This test does not pass reliably")
289+
288290
// redirect 'POST /redirect/<num>' to '/redirect/<num + 1>'.
289291
stub(condition: isMethodPOST() && isHost("www.apple.com")) { _ in
290292
HTTPStubsResponse(data: Data(), statusCode: 302, headers: [

WordPressKit/Tests/WordPressKitTests/Tests/Utilities/URLSessionHelperTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ class URLSessionHelperTests: XCTestCase {
260260
}
261261

262262
func testTempFileRemovedAfterMultipartUpload() async throws {
263+
try XCTSkipIf(true, "This test does not pass reliably")
264+
263265
stub(condition: isPath("/upload")) { _ in
264266
HTTPStubsResponse(data: "success".data(using: .utf8)!, statusCode: 200, headers: nil)
265267
}

0 commit comments

Comments
 (0)