Skip to content

Add skip_localhost mark, skip shutdown on local#614

Open
PatersonProjects wants to merge 1 commit into
documentdb:mainfrom
PatersonProjects:shutdown_smoke_fix
Open

Add skip_localhost mark, skip shutdown on local#614
PatersonProjects wants to merge 1 commit into
documentdb:mainfrom
PatersonProjects:shutdown_smoke_fix

Conversation

@PatersonProjects

Copy link
Copy Markdown
Contributor

This PR changes the contest and ini to add the needed mark to prevent the shutdown command from running on localhost devices (determined by checking the uri connected to mongo), helping prevent the destructive shutdown failing local test runs.

…own command

Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
@PatersonProjects PatersonProjects requested a review from a team as a code owner June 16, 2026 20:52
@documentdb-triage-tool

Copy link
Copy Markdown

🤖 Auto-triaged by documentdb-triage-tool.

Applied: compatibility test, enhancement
Project fields suggested: Component test-coverage · Priority P2 · Effort M · Status Needs Review
Confidence: 0.75 (mixed)

Reasoning

component from path globs (test-coverage); effort from diff stats (20+1 LOC, 3 files); LLM: Adds a pytest mark to skip destructive shutdown commands on localhost, improving local developer experience in the test framework (conftest/ini changes).

If a label is wrong, remove it manually and ping @patty-chow so the rules can be tuned. The bot will not re-label items that already have component labels.

@documentdb-triage-tool documentdb-triage-tool Bot added compatibility test Compatibility test related enhancement New feature or request labels Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compatibility test Compatibility test related enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant