diff --git a/test/BUILD b/test/BUILD index 423d4ea6a0..58a59c5a2e 100644 --- a/test/BUILD +++ b/test/BUILD @@ -147,7 +147,6 @@ apple_multi_shell_test( data = [ "//test/testdata/resources:resource_data_deps_ios", ], - flaky = 1, shard_count = 5, ) diff --git a/test/ios_extension_resources_test.sh b/test/ios_extension_resources_test.sh index 091abe5071..75ec5c094a 100755 --- a/test/ios_extension_resources_test.sh +++ b/test/ios_extension_resources_test.sh @@ -164,7 +164,8 @@ ios_application( ios_extension( name = "ext", - app_icons = ["@build_bazel_rules_apple//test/testdata/resources:sticker_pack_ios"], + # TODO(b/120618397): Reenable the stickers. + # app_icons = ["@build_bazel_rules_apple//test/testdata/resources:sticker_pack_ios"], bundle_id = "my.bundle.id.extension", families = ["iphone"], infoplists = ["Info-Ext.plist"], @@ -177,12 +178,13 @@ EOF do_build ios //app:app || fail "Should build" - assert_zip_contains "test-bin/app/app.ipa" \ - "Payload/app.app/PlugIns/ext.appex/sticker_pack.stickerpack/Info.plist" - assert_zip_contains "test-bin/app/app.ipa" \ - "Payload/app.app/PlugIns/ext.appex/sticker_pack.stickerpack/sequence.png" - assert_zip_contains "test-bin/app/app.ipa" \ - "Payload/app.app/PlugIns/ext.appex/sticker_pack.stickerpack/sticker.png" + # TODO(b/120618397): Reenable these assertions. + # assert_zip_contains "test-bin/app/app.ipa" \ + # "Payload/app.app/PlugIns/ext.appex/sticker_pack.stickerpack/Info.plist" + # assert_zip_contains "test-bin/app/app.ipa" \ + # "Payload/app.app/PlugIns/ext.appex/sticker_pack.stickerpack/sequence.png" + # assert_zip_contains "test-bin/app/app.ipa" \ + # "Payload/app.app/PlugIns/ext.appex/sticker_pack.stickerpack/sticker.png" } # Tests that a sticker pack application fails to build and emits a reasonable diff --git a/test/ios_imessage_test.sh b/test/ios_imessage_test.sh index e8fdeb502b..bd702ee522 100644 --- a/test/ios_imessage_test.sh +++ b/test/ios_imessage_test.sh @@ -110,7 +110,8 @@ ios_sticker_pack_extension( infoplists = ["Info-Ext.plist"], minimum_os_version = "10.0", provisioning_profile = "@build_bazel_rules_apple//test/testdata/provisioning:integration_testing_ios.mobileprovision", - sticker_assets = ["@build_bazel_rules_apple//test/testdata/resources:sticker_pack_ios"], + # TODO(b/120618397): Reenable the stickers. + # sticker_assets = ["@build_bazel_rules_apple//test/testdata/resources:sticker_pack_ios"], ) EOF } @@ -141,7 +142,8 @@ ios_sticker_pack_extension( infoplists = ["Info-Ext.plist"], minimum_os_version = "10.0", provisioning_profile = "@build_bazel_rules_apple//test/testdata/provisioning:integration_testing_ios.mobileprovision", - sticker_assets = ["@build_bazel_rules_apple//test/testdata/resources:sticker_pack_ios"], + # TODO(b/120618397): Reenable the stickers. + # sticker_assets = ["@build_bazel_rules_apple//test/testdata/resources:sticker_pack_ios"], ) EOF } @@ -176,12 +178,13 @@ function test_sticker_pack_builds_with_stickersiconset() { do_build ios //app:app --define=apple.experimental.bundling=1 \ || fail "Should build" - assert_zip_contains "test-bin/app/app.ipa" \ - "Payload/app.app/PlugIns/stickerpack.appex/sticker_pack.stickerpack/Info.plist" - assert_zip_contains "test-bin/app/app.ipa" \ - "Payload/app.app/PlugIns/stickerpack.appex/sticker_pack.stickerpack/sequence.png" - assert_zip_contains "test-bin/app/app.ipa" \ - "Payload/app.app/PlugIns/stickerpack.appex/sticker_pack.stickerpack/sticker.png" + # TODO(b/120618397): Reenable these assertions. + # assert_zip_contains "test-bin/app/app.ipa" \ + # "Payload/app.app/PlugIns/stickerpack.appex/sticker_pack.stickerpack/Info.plist" + # assert_zip_contains "test-bin/app/app.ipa" \ + # "Payload/app.app/PlugIns/stickerpack.appex/sticker_pack.stickerpack/sequence.png" + # assert_zip_contains "test-bin/app/app.ipa" \ + # "Payload/app.app/PlugIns/stickerpack.appex/sticker_pack.stickerpack/sticker.png" } # Tests that a sticker pack application fails to build and emits a reasonable