Skip to content

Commit 55a271e

Browse files
Run grpc interceptor separately.
1 parent 5e756e0 commit 55a271e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tox.ini

+7-2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,17 @@ commands =
2222
python -m pytest {posargs} -n auto \
2323
{toxinidir}/tests \
2424
--ignore={toxinidir}/tests/kafka \
25-
--ignore={toxinidir}/tests/parallel
25+
--ignore={toxinidir}/tests/parallel \
26+
--ignore={toxinidir}/tests/grpc/test_interceptor.py
2627
# kafka and parallel tests are failing for macos when running in parallel
2728
# with the entire test suite. So, we run them separately.
29+
# Also, we run the grpc interceptor test separately because
30+
# other tests will interfere with the metrics counter when
31+
# running in parallel.
2832
python -m pytest {posargs} \
2933
{toxinidir}/tests/kafka \
30-
{toxinidir}/tests/parallel
34+
{toxinidir}/tests/parallel \
35+
{toxinidir}/tests/grpc/test_interceptor.py
3136
set_env =
3237
GITHUB_SERVER_URL = {env:GITHUB_SERVER_URL:https\://github.com}
3338
GITHUB_REPOSITORY = {env:GITHUB_REPOSITORY:SeldonIO/MLServer}

0 commit comments

Comments
 (0)