Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
61acfc45
Unverified
Commit
61acfc45
authored
May 21, 2025
by
Rabi Mishra
Committed by
GitHub
May 21, 2025
Browse files
[Bugfix][Failing Test] Fix test_events.py (#18460)
Signed-off-by:
rabi
<
ramishra@redhat.com
>
parent
107f5fc4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
.buildkite/test-pipeline.yaml
.buildkite/test-pipeline.yaml
+2
-0
tests/distributed/test_events.py
tests/distributed/test_events.py
+4
-5
No files found.
.buildkite/test-pipeline.yaml
View file @
61acfc45
...
...
@@ -138,6 +138,7 @@ steps:
-
vllm/core/
-
tests/distributed/test_utils
-
tests/distributed/test_pynccl
-
tests/distributed/test_events
-
tests/spec_decode/e2e/test_integration_dist_tp4
-
tests/compile/test_basic_correctness
-
examples/offline_inference/rlhf.py
...
...
@@ -156,6 +157,7 @@ steps:
-
pytest -v -s distributed/test_utils.py
-
pytest -v -s compile/test_basic_correctness.py
-
pytest -v -s distributed/test_pynccl.py
-
pytest -v -s distributed/test_events.py
-
pytest -v -s spec_decode/e2e/test_integration_dist_tp4.py
# TODO: create a dedicated test section for multi-GPU example tests
# when we have multiple distributed example tests
...
...
tests/distributed/test_events.py
View file @
61acfc45
...
...
@@ -119,13 +119,12 @@ def test_topic_filtering(publisher_config):
"""
publisher_config
.
replay_endpoint
=
None
cfg
=
publisher_config
.
model_copy
()
cfg
.
topic
=
"foo"
pub
=
EventPublisherFactory
.
create
(
cfg
)
publisher_config
.
topic
=
"foo"
pub
=
EventPublisherFactory
.
create
(
publisher_config
)
from
.conftest
import
MockSubscriber
sub_foo
=
MockSubscriber
(
cf
g
.
endpoint
,
None
,
"foo"
)
sub_bar
=
MockSubscriber
(
cf
g
.
endpoint
,
None
,
"bar"
)
sub_foo
=
MockSubscriber
(
publisher_confi
g
.
endpoint
,
None
,
"foo"
)
sub_bar
=
MockSubscriber
(
publisher_confi
g
.
endpoint
,
None
,
"bar"
)
try
:
time
.
sleep
(
0.1
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment