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

[Bug]: Tests requiring docker not skipped when already running in a container #1382

Closed
davorrunje opened this issue Jan 23, 2024 · 0 comments · Fixed by #1383
Closed

[Bug]: Tests requiring docker not skipped when already running in a container #1382

davorrunje opened this issue Jan 23, 2024 · 0 comments · Fixed by #1383

Comments

@davorrunje
Copy link
Collaborator

Describe the bug

Tests requiring docker for code execution are being triggered when already running in a container.

Steps to reproduce

Start VS Code using dev container and run:

pytest test/test_code.py

Two tests that should be skipped are failing.

Expected Behavior

Test should be skipped because a Docker container cannot be started inside a container

Screenshots and logs

No response

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant