-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TestLogIngestionFleetManaged, TestDebLogIngestFleetManaged (#5375)
* [integration tests] Keep work directory if test fails This commit enables the work directory used by the integration tests framework to be kept in the filesystem if the test fails. The full path of the test directory is printed when the test fails. * Update pkg/testing/fixture.go Co-authored-by: Paolo Chilà <paolo.chila@elastic.co> * Update pkg/testing/fixture.go Co-authored-by: Paolo Chilà <paolo.chila@elastic.co> * Remove log in error branch * [Integration Tests] Generate namespace based on UUIDv4 The namespace generated by the integration tests framework was not unique among different tests and test runs, so sometimes collisions would occurs causing some tests to be flaky. * Add debug logs * run mage fmt * Fix TestDebLogIngestFleetManaged - Remove debug logs - Make the deb respect the AGENT_KEEP_INSTALLED env var - Add errors that only happen on deb to allow list * Improve logs and test error message --------- Co-authored-by: Paolo Chilà <paolo.chila@elastic.co> Co-authored-by: Julien Lind <julien.lind@elastic.co> (cherry picked from commit 6695324)
- Loading branch information
1 parent
ecab0c3
commit 00d5d84
Showing
7 changed files
with
49 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters