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

Pants: reclassify test utils in BUILD metadata #5926

Merged
merged 5 commits into from
Mar 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Added
to pants' use of PEX lockfiles. This is not a user-facing addition.
#5778 #5789 #5817 #5795 #5830 #5833 #5834 #5841 #5840 #5838 #5842 #5837 #5849 #5850
#5846 #5853 #5848 #5847 #5858 #5857 #5860 #5868 #5871 #5864 #5874 #5884 #5893 #5891
#5890 #5898 #5901 #5906 #5899 #5907 #5909 #5922
#5890 #5898 #5901 #5906 #5899 #5907 #5909 #5922 #5926
Contributed by @cognifloyd

* Added a joint index to solve the problem of slow mongo queries for scheduled executions. #5805
Expand Down
4 changes: 3 additions & 1 deletion contrib/runners/orquesta_runner/tests/unit/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ python_tests(
],
)

python_sources()
python_test_utils(
sources=["*.py", "!test_*.py"],
)
4 changes: 3 additions & 1 deletion st2client/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ __defaults__(
)
)

python_sources()
python_test_utils(
sources=["*.py"],
)
4 changes: 3 additions & 1 deletion st2common/tests/unit/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ python_tests(
uses=["mongo", "rabbitmq"],
)

python_sources()
python_test_utils(
sources=["*.py", "!test_*.py"],
)
6 changes: 4 additions & 2 deletions st2tests/integration/orquesta/BUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
python_sources()

python_tests(
name="tests",
uses=["redis"],
)

python_test_utils(
sources=["*.py", "!test_*.py"],
)