Skip to content

Commit 715fdb6

Browse files
Grandyscrobert-1
authored andcommitted
[receiver/sqlquery] Decrease time of running integration tests (open-telemetry#37624)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Improvements to integration test: 1. Reduced test execution time by changing the behavior from starting and shutting down the database container for each test case to starting the container **once** and then running all tests for the given engine. Gain ~22s: [Main job](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/13077774968/job/36494091929): ``` DONE 47 tests, 8 skipped in 136.005s ``` [PR job](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/13077857640/job/36494335331?pr=37624) ``` DONE 44 tests, 4 skipped in 114.374s ``` 2. Updated the Oracle container from [gvenzl/oracle-xe:21-slim-faststart](https://hub.docker.com/r/gvenzl/oracle-xe) to [gvenzl/oracle-free:slim-faststart](https://hub.docker.com/r/gvenzl/oracle-free), primarily to support ARM architecture. <!--Describe what testing was performed and which tests were added.--> #### Testing * Ran tests for Oracle and SQL Server locally to ensure they are not broken. Co-authored-by: Curtis Robert <[email protected]>
1 parent e4154bd commit 715fdb6

File tree

6 files changed

+304
-240
lines changed

6 files changed

+304
-240
lines changed

0 commit comments

Comments
 (0)