Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [APM] Create dev script to be able to run Deployment agnostic t…
…ests (#201351) (#201585) # Backport This will backport the following commits from `main` to `8.x`: - [[APM] Create dev script to be able to run Deployment agnostic tests (#201351)](#201351) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sergi Romeu","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-25T12:56:45Z","message":"[APM] Create dev script to be able to run Deployment agnostic tests (#201351)\n\n## Summary\n\nCloses #201346\n\nThis PR adds a `dat` dev script, which lets you easily run APM\ndeployment-agnostic tests, as we already do with `api` tests.\n\n## Examples\n\nRun only server with stateful config\n```sh\nnode x-pack/plugins/observability_solution/apm/scripts/test/dat --stateful --server\n```\nRun only runner with stateful config\n```sh\nnode x-pack/plugins/observability_solution/apm/scripts/test/dat --stateful --runner\n```\nRun everything with serverless config\n```sh\nnode x-pack/plugins/observability_solution/apm/scripts/test/dat --serverless\n```\n\nMore information\n[here](https://github.com/elastic/kibana/pull/201351/files#diff-5ca943bbe3962fc31cce510407cc1563a959b0fdb9cb52619f57e1f182a9751a)\n\n---------\n\nCo-authored-by: Cauê Marcondes <[email protected]>","sha":"92fc653480b1fb8a64d2adafe385d1a1a390274a","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","Team:obs-ux-infra_services"],"title":"[APM] Create dev script to be able to run Deployment agnostic tests","number":201351,"url":"https://github.com/elastic/kibana/pull/201351","mergeCommit":{"message":"[APM] Create dev script to be able to run Deployment agnostic tests (#201351)\n\n## Summary\n\nCloses #201346\n\nThis PR adds a `dat` dev script, which lets you easily run APM\ndeployment-agnostic tests, as we already do with `api` tests.\n\n## Examples\n\nRun only server with stateful config\n```sh\nnode x-pack/plugins/observability_solution/apm/scripts/test/dat --stateful --server\n```\nRun only runner with stateful config\n```sh\nnode x-pack/plugins/observability_solution/apm/scripts/test/dat --stateful --runner\n```\nRun everything with serverless config\n```sh\nnode x-pack/plugins/observability_solution/apm/scripts/test/dat --serverless\n```\n\nMore information\n[here](https://github.com/elastic/kibana/pull/201351/files#diff-5ca943bbe3962fc31cce510407cc1563a959b0fdb9cb52619f57e1f182a9751a)\n\n---------\n\nCo-authored-by: Cauê Marcondes <[email protected]>","sha":"92fc653480b1fb8a64d2adafe385d1a1a390274a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201351","number":201351,"mergeCommit":{"message":"[APM] Create dev script to be able to run Deployment agnostic tests (#201351)\n\n## Summary\n\nCloses #201346\n\nThis PR adds a `dat` dev script, which lets you easily run APM\ndeployment-agnostic tests, as we already do with `api` tests.\n\n## Examples\n\nRun only server with stateful config\n```sh\nnode x-pack/plugins/observability_solution/apm/scripts/test/dat --stateful --server\n```\nRun only runner with stateful config\n```sh\nnode x-pack/plugins/observability_solution/apm/scripts/test/dat --stateful --runner\n```\nRun everything with serverless config\n```sh\nnode x-pack/plugins/observability_solution/apm/scripts/test/dat --serverless\n```\n\nMore information\n[here](https://github.com/elastic/kibana/pull/201351/files#diff-5ca943bbe3962fc31cce510407cc1563a959b0fdb9cb52619f57e1f182a9751a)\n\n---------\n\nCo-authored-by: Cauê Marcondes <[email protected]>","sha":"92fc653480b1fb8a64d2adafe385d1a1a390274a"}}]}] BACKPORT--> Co-authored-by: Sergi Romeu <[email protected]>
- Loading branch information