You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[tests] split up serverless and resource leaks integration tests (#8396)
* fix: expose PreinstalledPackages
* fix: make groups.go importable
* feat: introduce new leak package for integration tests
* feat: introduce new serverless package for integration tests
* feat: incorporate serverless and extended runtime leak tests in mage
* fix: normalise powershell (windows) and bash (unix) integration tests invocation flow
* fix: use -test prefixed args for test-wise argument in buildkite-integration-tests.ps1
* fix: add comment about test timeout 2h0m0s
* fix: correct wording
* doc: add integration:TestServerless and update integration:TestForResourceLeaks in test-framework-dev-guide.md
* fix: return directly the test exit code for ps1 scripts
* fix: rename file that host TestMain to main_test.go
* fix: correct build tags for serverless integration tests package
* fix: leverage log.Fatalf in serverless/main_test.go
* feat: expand the BK log group on failure
* tmp: introduce artificial test failure to test buildkite logging group expansion
* Revert "tmp: introduce artificial test failure to test buildkite logging group expansion"
This reverts commit ee6bd63.
* fix: typo
* fix: remove redundant BK log group expansion
.buildkite/scripts/steps/integration_tests.sh serverless integration:single TestLogIngestionFleetManaged #right now, run a single test in serverless mode as a sort of smoke test, instead of re-running the entire suite
The test framework includes a smoke test suite to check elastic-agent in a serverless environment. The suite can be run via the `integration:TestServerless` mage target.
136
+
134
137
##### Run Extended Runtime Leak Test
135
138
The test framework includes a "long running" test to check for resource leaks and stability.
136
139
The runtime of the test can be set via the `LONG_TEST_RUNTIME` environment variable.
137
-
The test itself can be run via the `integration:TestLongRunningAgentForLeaks` mage target.
140
+
The test itself can be run via the `integration:TestForResourceLeaks` mage target.
138
141
139
142
##### Limitations
140
143
Due to the way the parameters are passed to `devtools.GoTest` the value of the environment variable
0 commit comments