Avoid CLI invocation overhead, use runtime cache invalidation for GRAPHQL WebAPI tests#40804
Avoid CLI invocation overhead, use runtime cache invalidation for GRAPHQL WebAPI tests#40804ilnytskyi wants to merge 1 commit into
Conversation
|
Hi @ilnytskyi. Thank you for your contribution!
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
|
The security team has been informed about this pull request due to the presence of risky security keywords. For security vulnerability reports, please visit Adobe's vulnerability disclosure program on HackerOne or email psirt@adobe.com. |
|
@magento run all tests UPD: 27 minutes |
|
@magento run WebAPI Tests UPD: 26m 51s |



Description (*)
exec("php -f {$appDir}/bin/magento cache:flush full_page", $out);Tested on
dev/tests/api-functional/testsuite/Magento/GraphQl/Customertestsuite locally, shoved about 15% speed gaincleanType('full_page')onlyInstrumentation the tearDown method shoved that using in-process object manager was about 100x faster that CLI command invocation for customer testsute.
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
2h 5m and 29m for GRAPHQL WebAPI tests for CE
https://github.com/magento/magento2/pull/40787/checks?check_run_id=73193963114
https://public-results-storage-prod.magento-testing-service.engineering/reports/magento/magento2/pull/40787/7cd9f3f1af8dbf934c3a44a94d5c28af/WebApi/allure-report-ce-WebAPI-GRAPHQL/index.html
1h 46m total and 28m for GRAPHQL WebAPI tests for CE
https://github.com/magento/magento2/pull/40750/checks?check_run_id=72657132676
https://public-results-storage-prod.magento-testing-service.engineering/reports/magento/magento2/pull/40750/bc5e4db104623e15f0d5c7d739f3a2ee/WebApi/allure-report-ce-WebAPI-GRAPHQL/index.html
1h 49m total and 32m for GRAPHQL WebAPI tests for CE
https://github.com/magento/magento2/pull/40742/checks?check_run_id=74627364632
https://public-results-storage-prod.magento-testing-service.engineering/reports/magento/magento2/pull/40742/96df43391c473e82259d6b7225a47194/WebApi/allure-report-ce-WebAPI-GRAPHQL/index.html
2h 16m total and 25m for GRAPHQL WebAPI tests for CE
https://github.com/magento/magento2/pull/40685/checks?check_run_id=71209955812
https://public-results-storage-prod.magento-testing-service.engineering/reports/magento/magento2/pull/40685/69ed0cddb7d8662d651a944e55d7b9fa/WebApi/allure-report-ce-WebAPI-GRAPHQL/index.html
Contribution checklist (*)