Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

No issue: test one shard per UI test on FTL #18998

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

AaronMT
Copy link
Contributor

@AaronMT AaronMT commented Apr 13, 2021

Testing the speed of test execution on FTL by using one shard per UI test.

@AaronMT AaronMT self-assigned this Apr 13, 2021
@AaronMT AaronMT requested review from a team as code owners April 13, 2021 19:22
@AaronMT AaronMT added the eng:automation Build automation, Continuous integration, .. label Apr 13, 2021
@AaronMT AaronMT force-pushed the flank-shard-test branch 2 times, most recently from 35b2135 to 000035d Compare April 15, 2021 18:44
@AaronMT
Copy link
Contributor Author

AaronMT commented Apr 15, 2021

Pretty large log reduction with compact, and promising speed with one shard for test. Re-running a few times.

2050: [taskcluster 2021-04-15 19:06:25.806Z] Successful task run with exit code: 0 completed in 510.652 seconds

Pass in shard arg to ui-test.sh

Try out compact logging for log size reduction
@AaronMT AaronMT merged commit 83b04f8 into mozilla-mobile:master Apr 19, 2021
@AaronMT AaronMT deleted the flank-shard-test branch April 19, 2021 16:22
@@ -52,7 +52,7 @@ jobs:
run-on-git-branches: ["^((?!releases[_/]).+)$"]
run:
commands:
- [automation/taskcluster/androidTest/ui-test.sh, x86, app.apk, android-test.apk, '50']
- [automation/taskcluster/androidTest/ui-test.sh, x86, app.apk, android-test.apk, '-1']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs a slight bit of housekeeping. If we're using a config file (the flank file) to contain our variables, why should this one stand out as the single variable we need to pass down? I can't remember what the logic was for leaving it this way, but we should be invoking this variable from the flank file (and not in both places). I think you could simply remove it from here and from line #137 and then I believe it would just be picked up from the flank file automagically.

It would probably also be a good idea to make sure the help is up-to-date: https://github.com/mozilla-mobile/fenix/blob/master/automation/taskcluster/androidTest/ui-test.sh#L24-L33

Aside from that nit, LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
eng:automation Build automation, Continuous integration, ..
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants