Skip to content

Commit

Permalink
Switch from android 9 to 10 for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsoulanille committed Nov 30, 2022
1 parent 9d28deb commit 9471087
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion BAZEL_MIGRATION.md
Expand Up @@ -211,7 +211,7 @@ tfjs_web_test(
"bs_firefox_mac",
"bs_safari_mac",
"bs_ios_12",
"bs_android_9",
"bs_android_10",
"win_10_chrome",
],
static_files = [
Expand Down
6 changes: 3 additions & 3 deletions e2e/karma.conf.js
Expand Up @@ -176,11 +176,11 @@ module.exports = function(config) {
os_version: '11.0',
real_mobile: true
},
bs_android_9: {
bs_android_10: {
base: 'BrowserStack',
device: 'Google Pixel 3 XL',
device: 'Google Pixel 4 XL',
os: 'android',
os_version: '9.0',
os_version: '10.0',
real_mobile: true
},
win_10_chrome: {
Expand Down
6 changes: 3 additions & 3 deletions e2e/script_tag_tests/tfjs-core-cpu/karma.conf.js
Expand Up @@ -104,11 +104,11 @@ module.exports = function(config) {
os_version: '11.0',
real_mobile: true
},
bs_android_9: {
bs_android_10: {
base: 'BrowserStack',
device: 'Google Pixel 3 XL',
device: 'Google Pixel 4 XL',
os: 'android',
os_version: '9.0',
os_version: '10.0',
real_mobile: true
},
win_10_chrome: {
Expand Down
6 changes: 3 additions & 3 deletions e2e/script_tag_tests/tfjs/karma.conf.js
Expand Up @@ -96,11 +96,11 @@ module.exports = function(config) {
os_version: '11.0',
real_mobile: true
},
bs_android_9: {
bs_android_10: {
base: 'BrowserStack',
device: 'Google Pixel 3 XL',
device: 'Google Pixel 4 XL',
os: 'android',
os_version: '9.0',
os_version: '10.0',
real_mobile: true
},
win_10_chrome: {
Expand Down
2 changes: 1 addition & 1 deletion e2e/scripts/test-ci.sh
Expand Up @@ -61,7 +61,7 @@ if [[ "$NIGHTLY" = true || "$RELEASE" = true ]]; then

node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_firefox_mac --tags '$TAGS'"
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_chrome_mac --tags '$TAGS'"
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_android_9 --tags '$TAGS'"
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_android_10 --tags '$TAGS'"

# Test script tag bundles
node ../scripts/run_flaky.js "karma start ./script_tag_tests/tfjs-core-cpu/karma.conf.js --browserstack --browsers=bs_chrome_mac"
Expand Down
2 changes: 1 addition & 1 deletion tfjs-backend-wasm/BUILD.bazel
Expand Up @@ -155,7 +155,7 @@ tfjs_web_test(
"bs_safari_mac",
"bs_ios_12",
# TODO(mattsoulanille): Fix clipByValue on Android.
# "bs_android_9",
# "bs_android_10",
"win_10_chrome",
],
static_files = [
Expand Down
4 changes: 2 additions & 2 deletions tfjs-backend-webgl/BUILD.bazel
Expand Up @@ -108,13 +108,13 @@ tfjs_web_test(
browsers = [
"bs_chrome_mac",
"bs_firefox_mac",
"bs_android_9",
"bs_android_10",
"win_10_chrome",
],
headless = False,
presubmit_browsers = [
"bs_chrome_mac",
"bs_android_9",
"bs_android_10",
],
static_files = STATIC_FILES,
)
Expand Down
2 changes: 1 addition & 1 deletion tfjs-backend-webgl/scripts/test-ci.sh
Expand Up @@ -19,7 +19,7 @@ set -e
if [ "$NIGHTLY" = true ]; then
node ../scripts/run_flaky.js "yarn run-browserstack --browsers='bs_safari_mac,bs_ios_12' --testEnv webgl1"
node ../scripts/run_flaky.js "yarn run-browserstack --browsers='bs_firefox_mac,bs_chrome_mac'"
node ../scripts/run_flaky.js "yarn run-browserstack --browsers='win_10_chrome,bs_android_9' --testEnv webgl2"
node ../scripts/run_flaky.js "yarn run-browserstack --browsers='win_10_chrome,bs_android_10' --testEnv webgl2"
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_chrome_mac --testEnv webgl2 --flags '{"\""WEBGL_PACK"\"": false}'"
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_chrome_mac --testEnv webgl2 --flags '{"\""WEBGL_CPU_FORWARD"\"": true}'"
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_chrome_mac --testEnv webgl2 --flags '{"\""WEBGL_USE_SHAPES_UNIFORMS"\"": true}'"
Expand Down
2 changes: 1 addition & 1 deletion tfjs-core/BUILD.bazel
Expand Up @@ -114,7 +114,7 @@ tfjs_web_test(
"bs_firefox_mac",
"bs_safari_mac",
"bs_ios_12",
"bs_android_9",
"bs_android_10",
"win_10_chrome",
],
static_files = [
Expand Down
4 changes: 2 additions & 2 deletions tfjs-core/src/BUILD.bazel
Expand Up @@ -207,7 +207,7 @@ tfjs_web_test(
# absolute paths in iOS, which is required for loading the worker.
# https://www.browserstack.com/question/39573
# "bs_ios_12",
"bs_android_9",
"bs_android_10",
"win_10_chrome",
],
static_files = [
Expand Down Expand Up @@ -247,7 +247,7 @@ tfjs_web_test(
# absolute paths in iOS, which is required for loading the worker.
# https://www.browserstack.com/question/39573
# "bs_ios_12",
"bs_android_9",
"bs_android_10",
"win_10_chrome",
],
static_files = [
Expand Down
4 changes: 2 additions & 2 deletions tfjs-layers/BUILD.bazel
Expand Up @@ -52,8 +52,8 @@ tfjs_web_test(
browsers = [
"bs_chrome_mac",
"bs_firefox_mac",
# disabled android 9 test due to training flakiness
# "bs_android_9",
# disabled android test due to training flakiness
# "bs_android_10",
"win_10_chrome",
],
headless = False,
Expand Down
2 changes: 1 addition & 1 deletion tfjs-tfdf/BUILD.bazel
Expand Up @@ -108,7 +108,7 @@ tfjs_web_test(
# TODO: Support Safari.
"bs_chrome_mac",
"bs_firefox_mac",
"bs_android_9",
"bs_android_10",
"win_10_chrome",
],
static_files = [
Expand Down
2 changes: 1 addition & 1 deletion tfjs-tflite/src/BUILD.bazel
Expand Up @@ -110,7 +110,7 @@ tfjs_web_test(
# absolute paths in iOS, which is required for loading the worker.
# https://www.browserstack.com/question/39573
# "bs_ios_12",
"bs_android_9",
"bs_android_10",
"win_10_chrome",
],
static_files = [
Expand Down
6 changes: 3 additions & 3 deletions tools/karma_template.conf.js
Expand Up @@ -54,11 +54,11 @@ const CUSTOM_LAUNCHERS = {
os_version: '12.3',
real_mobile: true
},
bs_android_9: {
bs_android_10: {
base: 'BrowserStack',
device: 'Google Pixel 3 XL',
device: 'Google Pixel 4 XL',
os: 'android',
os_version: '9.0',
os_version: '10.0',
real_mobile: true
},
win_10_chrome: {
Expand Down
2 changes: 1 addition & 1 deletion tools/tfjs_web_test.bzl
Expand Up @@ -125,7 +125,7 @@ def tfjs_web_test(name, ci = True, args = [], **kwargs):
"bs_firefox_mac",
"bs_safari_mac",
"bs_ios_12",
"bs_android_9",
"bs_android_10",
"win_10_chrome",
])

Expand Down

0 comments on commit 9471087

Please sign in to comment.