File tree 4 files changed +7
-7
lines changed
src/main/kotlin/net/mullvad/mullvadvpn/test/e2e/constant
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -506,7 +506,7 @@ jobs:
506
506
INFRA_FLAVOR : prod
507
507
VALID_TEST_ACCOUNT_NUMBER : ${{ secrets.ANDROID_PROD_TEST_ACCOUNT }}
508
508
INVALID_TEST_ACCOUNT_NUMBER : ' 0000000000000000'
509
- IGNORE_HIGHLY_RATE_LIMITED_TESTS : ${{ github.event_name == 'schedule' && 'false ' || 'true ' }}
509
+ ENABLE_HIGHLY_RATE_LIMITED_TESTS : ${{ github.event_name == 'schedule' && 'true ' || 'false ' }}
510
510
REPORT_DIR : ${{ steps.prepare-report-dir.outputs.report_dir }}
511
511
run : ./android/scripts/run-instrumented-tests.sh
512
512
@@ -521,7 +521,7 @@ jobs:
521
521
clearPackageData=true,\
522
522
runnerBuilder=de.mannodermaus.junit5.AndroidJUnit5Builder,\
523
523
invalid_test_account_number=0000000000000000,\
524
- ignore_highly_rate_limited_tests =${{ github.event_name == 'schedule' && 'false ' || 'true ' }},\
524
+ enable_highly_rate_limited_tests =${{ github.event_name == 'schedule' && 'true ' || 'false ' }},\
525
525
partner_auth=${{ secrets.STAGEMOLE_PARTNER_AUTH }}"
526
526
strategy :
527
527
fail-fast : false
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ TEST_SERVICES_URL=https://dl.google.com/android/maven2/androidx/test/services/te
16
16
PARTNER_AUTH=" ${PARTNER_AUTH:- } "
17
17
VALID_TEST_ACCOUNT_NUMBER=" ${VALID_TEST_ACCOUNT_NUMBER:- } "
18
18
INVALID_TEST_ACCOUNT_NUMBER=" ${INVALID_TEST_ACCOUNT_NUMBER:- } "
19
- IGNORE_HIGHLY_RATE_LIMITED_TESTS =" ${IGNORE_HIGHLY_RATE_LIMITED_TESTS :- false} "
19
+ ENABLE_HIGHLY_RATE_LIMITED_TESTS =" ${ENABLE_HIGHLY_RATE_LIMITED_TESTS :- false} "
20
20
REPORT_DIR=" ${REPORT_DIR:- } "
21
21
22
22
while [[ " $# " -gt 0 ]]; do
@@ -131,8 +131,8 @@ case "$TEST_TYPE" in
131
131
echo " Error: The variable PARTNER_AUTH or VALID_TEST_ACCOUNT_NUMBER must be set."
132
132
exit 1
133
133
fi
134
- if [[ " ${IGNORE_HIGHLY_RATE_LIMITED_TESTS } " == " true" ]]; then
135
- OPTIONAL_TEST_ARGUMENTS+=" -e ignore_highly_rate_limited_tests true"
134
+ if [[ " ${ENABLE_HIGHLY_RATE_LIMITED_TESTS } " == " true" ]]; then
135
+ OPTIONAL_TEST_ARGUMENTS+=" -e enable_highly_rate_limited_tests true"
136
136
fi
137
137
USE_ORCHESTRATOR=" true"
138
138
PACKAGE_NAME=" net.mullvad.mullvadvpn"
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ android {
46
46
put(" clearPackageData" , " true" )
47
47
addOptionalPropertyAsArgument(" valid_test_account_number" )
48
48
addOptionalPropertyAsArgument(" invalid_test_account_number" )
49
- addOptionalPropertyAsArgument(" ignore_highly_rate_limited_tests " )
49
+ addOptionalPropertyAsArgument(" enable_highly_rate_limited_tests " )
50
50
}
51
51
}
52
52
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ const val LOG_TAG = "mullvad-e2e"
4
4
const val PARTNER_AUTH = " partner_auth"
5
5
const val VALID_TEST_ACCOUNT_NUMBER_ARGUMENT_KEY = " valid_test_account_number"
6
6
const val INVALID_TEST_ACCOUNT_NUMBER_ARGUMENT_KEY = " invalid_test_account_number"
7
- const val IGNORE_HIGHLY_RATE_LIMITED = " ignore_highly_rate_limited_tests "
7
+ const val IGNORE_HIGHLY_RATE_LIMITED = " enable_highly_rate_limited_tests "
You can’t perform that action at this time.
0 commit comments