Skip to content

Commit

Permalink
avoid cirucular use of pants-plugins/uses_services before the tests…
Browse files Browse the repository at this point in the history
… that test it
  • Loading branch information
cognifloyd committed Jan 27, 2023
1 parent 89b6960 commit 070cf24
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pants-plugins/uses_services/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ python_test_utils(

python_tests(
name="tests",
overrides={
# We use this plugin to validate we can run the tests for it.
"mongo_rules_test.py": {"uses": ["mongo"]},
},
# Do not enable `uses` for these tests.
# These tests still need the running services, but if the plugin
# is somehow broken, then any failures would prevent these tests
# from running to tell us what is wrong.
# overrides={
# "mongo_rules_test.py": {"uses": ["mongo"]},
# },
)

0 comments on commit 070cf24

Please sign in to comment.