Skip to content

Conversation

@jsoriano
Copy link
Member

When creating new recordings for testing, tests that already have recordings fail if the host doesn't match. This happens when recording from environments that don't use the usual local values, as for example in the test case added in #2307. This can even interfere with any other environment variable set by elastic-package stack shellinit.

With this change environment variables are only used to initialize the client when creating new recording files.

@jsoriano jsoriano requested a review from a team December 30, 2024 17:56
@jsoriano jsoriano self-assigned this Dec 30, 2024
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

cc @jsoriano

Copy link
Contributor

@mrodm mrodm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jsoriano jsoriano merged commit aa7eecf into elastic:main Jan 7, 2025
3 checks passed
@jsoriano jsoriano deleted the record-only-if-not-exists branch January 7, 2025 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants