fix: ArangoDB Integration: fix error message on bad host address and timeout
Description
- Add infra to re-format error messages.
- Re-format error message for test datasource failure due to (1) bad endpoint (2) timeout
PR fixes following issue(s)
Fixes #21782
Type of change
- Bug fix (non-breaking change which fixes an issue)
Testing
How Has This Been Tested?
- JUnit TCs
- Manual
Test Plan
Add Testsmith test cases links that relate to this PR
Issues raised during DP testing
Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)
Checklist:
Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag
QA activity:
- [ ] Speedbreak features have been covered
- [ ] Test plan covers all impacted features and areas of interest
- [ ] Test plan has been peer reviewed by project stakeholders and other QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added
Test Plan Approvedlabel after Cypress tests were reviewed - [ ] Added
Test Plan Approvedlabel after JUnit tests were reviewed
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4957567098.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23267.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23267&runId=4957567098_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4957567098. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/IDE/Command_Click_Navigation_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Templates/Fork_Template_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_spec.js
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4957567098. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/IDE/Command_Click_Navigation_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_spec.js
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4976697415.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23267.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23267&runId=4976697415_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4976697415. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/Application/MongoDBShoppingCart_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Moment_Spec.ts
/build-deploy-preview skip-tests=true
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4986144636.
Workflow: On demand build Docker image and deploy preview.
skip-tests: true.
env: ``.
PR: 23267.
recreate: .
Deploy-Preview-URL: https://ce-23267.dp.appsmith.com
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4991080910.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23267.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23267&runId=4991080910_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4991080910. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/Application/EchoApiCMS_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitImport/GitImport_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/CreateNewApp_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL2_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/OnLoadTests/PostgresConnections_spec.ts
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4998450779.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23267.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23267&runId=4998450779_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4998450779. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/Application/MongoDBShoppingCart_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/AdminSettings/Admin_settings_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Moment_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/EmbedSettings/EmbedSettings_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitSync/GitSyncedApps_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_CurlPOSTImport_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/OnLoadTests/PostgresConnections_spec.ts
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4998450779. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_CurlPOSTImport_spec.js
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4998450779. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Moment_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/OnLoadTests/PostgresConnections_spec.ts
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4998450779. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitSync/GitSyncedApps_spec.js
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4998450779. Commit: ``. All cypress tests have passed 🎉
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/5042210804.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23267.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23267&runId=5042210804_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5042210804. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/e2e/Regression/ServerSide/JsFunctionExecution/JSFunctionExecution_spec.ts
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5042210804. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/e2e/JSFunctionExecution_spec.ts
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5042210804. Commit: ``. All cypress tests have passed 🎉