Skip to content

Commit 6acdc7b

Browse files
authored
Temporarily disable broken ios tests on tvos as well (#1124)
This is the same as #1123 but for tvos
1 parent b09e4d8 commit 6acdc7b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

storage/integration_test/src/integration_test.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -574,11 +574,11 @@ const char kGetFileTestFile[] = "GetFileTest.txt";
574574
const char kFileUriScheme[] = "file://";
575575

576576
// TODO(b/255839066): Re-enable this test after the iOS 10.1.0 release
577-
#if FIREBASE_PLATFORM_IOS
577+
#if FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS
578578
TEST_F(FirebaseStorageTest, DISABLED_TestPutFileAndGetFile) {
579579
#else
580580
TEST_F(FirebaseStorageTest, TestPutFileAndGetFile) {
581-
#endif // FIREBASE_PLATFORM_IOS
581+
#endif // FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS
582582
SignIn();
583583

584584
firebase::storage::StorageReference ref =
@@ -1466,13 +1466,13 @@ TEST_F(FirebaseStorageTest, TestLargeFileCancelUpload) {
14661466
// Cancel the operation and verify it was successfully canceled.
14671467
EXPECT_TRUE(controller.Cancel());
14681468

1469-
#if FIREBASE_PLATFORM_IOS
1469+
#if FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS
14701470
// TODO(b/255839066): Change this to expect kErrorCancelled once iOS SDK
14711471
// returns the correct error code.
14721472
WaitForCompletion(future, "PutBytes", firebase::storage::kErrorUnknown);
14731473
#else
14741474
WaitForCompletion(future, "PutBytes", firebase::storage::kErrorCancelled);
1475-
#endif // FIREBASE_PLATFORM_IOS
1475+
#endif // FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS
14761476

14771477
FLAKY_TEST_SECTION_END();
14781478
}

0 commit comments

Comments
 (0)