Skip to content

Commit 7946334

Browse files
authored
enable vLLM EKS EC2 test on pipeline (#5187)
* enable vLLM EKS EC2 test on pipeline
1 parent 4dc762a commit 7946334

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

test/testrunner.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
)
3333
from test_utils import KEYS_TO_DESTROY_FILE
3434
from test_utils.pytest_cache import PytestCache
35-
from test.vllm.trigger_test import test
35+
from test.vllm.trigger_test import test as test_vllm
3636

3737
from src.codebuild_environment import get_codebuild_project_name
3838

@@ -323,6 +323,7 @@ def main():
323323
"functionality_sanity",
324324
"security_sanity",
325325
"eks",
326+
"ec2",
326327
}:
327328
LOGGER.info(
328329
f"NOTE: {specific_test_type} tests not supported on vllm images. Skipping..."
@@ -426,7 +427,7 @@ def main():
426427
if framework == "vllm":
427428
try:
428429
LOGGER.info(f"Running vLLM EKS EC2 tests with image: {all_image_list[0]}")
429-
test()
430+
test_vllm()
430431
LOGGER.info("vLLM EKS EC2 tests completed successfully")
431432
# Exit function after vLLM tests
432433
return

test/vllm/eks/eks_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
LOGGER.addHandler(logging.StreamHandler(sys.stdout))
2222

2323
AWS_REGION = "us-west-2"
24-
CLUSTER_NAME = "dlc-vllm-PR"
24+
build_context = os.getenv("BUILD_CONTEXT")
25+
CLUSTER_NAME = f"dlc-vllm-{build_context}"
2526
VLLM_NAMESPACE = "vllm"
2627
TEST_DIR = os.path.dirname(os.path.abspath(__file__))
2728
LWS_YAML = os.path.join(TEST_DIR, "test_artifacts", "vllm-deepseek-32b-lws.yaml")

0 commit comments

Comments
 (0)