Skip to content

AZURE_TEST_RUN_LIVE needs to be set outside of .env during local testing #43884

@scbedd

Description

@scbedd

I'm invoking tests locally. I have a .env defined. I defined AZURE_TESTS_RUN_LIVE=true within that .env. I am still getting playback cannot find recording file when it should be attempting record instead of default to playback.

If I set AZURE_TESTS_RUN_LIVE in environment, THEN run, the tests successfully go to record mode. We should be able to handle it when a .env exists and the user sets AZURE_TESTS_RUN_LIVE within only the .env.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions