Skip to content

[Test Load Balancing] Validate load-balance option and enable to load test balanced#136

Merged
stefanpenner merged 28 commits intoember-cli:masterfrom
choheekim:enable_test_load_balance
Mar 15, 2019
Merged

[Test Load Balancing] Validate load-balance option and enable to load test balanced#136
stefanpenner merged 28 commits intoember-cli:masterfrom
choheekim:enable_test_load_balance

Conversation

@choheekim
Copy link
Collaborator

@choheekim choheekim commented Oct 3, 2018

This pr contains two changes:

  1. The weight-test-modules allows ordering a list of AMD modules by slowest to fastest test type where we assume that acceptance tests are the slowest test type, with integration, unit tests and lint test being fast and faster and fastest. Sorting the list of AMD modules will be functioned by default when load-balance option is specified to provide better utilization of browser parallelization.

  2. With load-balance options enabled that the testLoader requires and unsees an AMD module as requested instead of testLoader loads a list of AMD modules all once. As the order of AMD modules ran per browser is not consistent with the load-balance option modules ran per browser are tracked and when all tests are complete it creates a json file which maps from a browser id to a list of AMD modules ran on the browser.

@choheekim choheekim closed this Oct 3, 2018
@choheekim choheekim reopened this Oct 4, 2018
@choheekim choheekim changed the title Validate load-balance option and enable to load test balanced [Test Load Balancing] Validate load-balance option and enable to load test balanced (WIP) Oct 4, 2018
@choheekim choheekim force-pushed the enable_test_load_balance branch from d0ccccd to a1c1de4 Compare October 4, 2018 22:39
@choheekim choheekim force-pushed the enable_test_load_balance branch 9 times, most recently from 480c8b9 to 1d14f5d Compare October 13, 2018 00:39
@choheekim choheekim force-pushed the enable_test_load_balance branch 4 times, most recently from dcb0fa6 to 90e685b Compare October 23, 2018 21:57
@choheekim choheekim force-pushed the enable_test_load_balance branch from becaabe to c30c1e9 Compare October 26, 2018 00:08
@choheekim choheekim force-pushed the enable_test_load_balance branch from b945358 to 0df5d2f Compare November 1, 2018 00:15
@stefanpenner
Copy link
Contributor

I will attempt to make time tomorrow to do a thorough review.

@choheekim choheekim force-pushed the enable_test_load_balance branch from 327dcd0 to d759215 Compare November 7, 2018 02:40
@choheekim choheekim force-pushed the enable_test_load_balance branch from e7f58c0 to 785e9e3 Compare March 6, 2019 20:11
…s to check whether having to set process callbacks.
@choheekim choheekim force-pushed the enable_test_load_balance branch from 785e9e3 to df56609 Compare March 6, 2019 23:29
@choheekim choheekim force-pushed the enable_test_load_balance branch from bbd3699 to 5e80d9a Compare March 12, 2019 02:01
@choheekim choheekim force-pushed the enable_test_load_balance branch from 5e80d9a to 3111b89 Compare March 12, 2019 18:06
@choheekim choheekim changed the title [Test Load Balancing] Validate load-balance option and enable to load test balanced (WIP) [Test Load Balancing] Validate load-balance option and enable to load test balanced Mar 13, 2019
2. Add 'write-execution-file' option to allow writing test-execution json file after test-execution
@choheekim choheekim force-pushed the enable_test_load_balance branch from 3111b89 to c691151 Compare March 13, 2019 18:24
Copy link
Collaborator

@step2yeung step2yeung left a comment

Choose a reason for hiding this comment

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

@choheekim lemme know if you feel these changes needs to be done for this PR or can land as part of the next PR

@choheekim choheekim force-pushed the enable_test_load_balance branch from ae79b07 to 3bb25b7 Compare March 14, 2019 03:12
@choheekim choheekim force-pushed the enable_test_load_balance branch from 3bb25b7 to dbf247c Compare March 14, 2019 21:38
@choheekim choheekim force-pushed the enable_test_load_balance branch from dbf247c to fbbe3a5 Compare March 14, 2019 23:31
@stefanpenner
Copy link
Contributor

this LGTM, time to merge. Release will occur once we land: #136

@stefanpenner stefanpenner merged commit 68641d6 into ember-cli:master Mar 15, 2019
@choheekim choheekim deleted the enable_test_load_balance branch March 27, 2019 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants