Skip to content

Commit f8f2423

Browse files
committed
XFAIL test_invalidResumeDataForDownloadTask
It randomly fails with Fatal error: Trying to access a behaviour for a task that in not in the registry SR-11353 rdar://54555179
1 parent d602c57 commit f8f2423

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

TestFoundation/TestURLSession.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,8 @@ class TestURLSession : LoopbackServerTest {
10651065
("test_sessionDelegateAfterInvalidateAndCancel", test_sessionDelegateAfterInvalidateAndCancel),
10661066
("test_getAllTasks", test_getAllTasks),
10671067
("test_getTasksWithCompletion", test_getTasksWithCompletion),
1068-
("test_invalidResumeDataForDownloadTask", test_invalidResumeDataForDownloadTask),
1068+
/* ⚠️ */ ("test_invalidResumeDataForDownloadTask",
1069+
/* ⚠️ */ testExpectedToFail(test_invalidResumeDataForDownloadTask, "This test crashes nondeterministically: https://bugs.swift.org/browse/SR-11353")),
10691070
/* ⚠️ */ ("test_simpleUploadWithDelegateProvidingInputStream",
10701071
/* ⚠️ */ testExpectedToFail(test_simpleUploadWithDelegateProvidingInputStream, "This test times out frequently: https://bugs.swift.org/browse/SR-11343")),
10711072
/* ⚠️ */ ("test_noDoubleCallbackWhenCancellingAndProtocolFailsFast",

0 commit comments

Comments
 (0)