Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop the test proxy container explicitly when tests finish #19473

Merged

Conversation

timovv
Copy link
Member

@timovv timovv commented Dec 20, 2021

Giving the container a name and then stopping it using docker container stop once tests complete should fix #19363.

@ghost ghost added the dev-tool Issues related to the Azure SDK for JS dev-tool label Dec 20, 2021
@timovv timovv added the test-utils-recorder Label for the issues related to the common recorder label Dec 20, 2021
// Licensed under the MIT license.

import { leafCommand, makeCommandInfo } from "../../framework/command";
import { config } from "dotenv";
Copy link
Contributor

Choose a reason for hiding this comment

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

why do you need dotenv here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops, just copied this from start.ts I think. Shouldn't be necessary.

@timovv timovv enabled auto-merge (squash) January 4, 2022 19:34
@timovv timovv merged commit 6242d00 into Azure:main Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-tool Issues related to the Azure SDK for JS dev-tool test-utils-recorder Label for the issues related to the common recorder
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Unified Recorder] Docker container doesn't stop gracefully on windows
3 participants