Ran
|
Files
153
|
Run time
27s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
RT testing: Get test ids from a file; 'PHP:' prefix triggers Parsoid/PHP * In order to control when new test runs are triggered, we are adding a getTestRunId method that will be used in the testreduce client config file for parsoid-rt-testing service on scandium. The first line of the file will be used as the test run id. * If the testrun id has a "PHP:" prefix, we will hit the Parsoid/PHP endpoints. If not, we will hit the Parsoid/JS endpoints. This URL is cached by the wrapper. So, you will need to restart the testing service (parsoid-rt-client on scandium) if you want to switch between versions. * Added a single-line parsoid.rt-test.ids file to seed this. This entry is the id of the latest test run on scandium. Since this doesn't have a "PHP:" prefix, we will continue to run rt tests with Parsoid/JS. However, note that till we update the testreduce client config on scandium (via a puppet patch) to use the getTestRunId method we added here, it will continue to use the git HEAD id to trigger new test runs whenever the git repository updates. Once the testreduce client config is updated, to trigger a new test run, simply add a new entry to the top of the file. You can continue to use the git sha of the Parsoid repo or use any other symbolic meaningful string to identify the test run. Bug: T230166 Change-Id: Ic94cfd542
9617 of 12111 branches covered (79.41%)
15040 of 17764 relevant lines covered (84.67%)
31704.62 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|