mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 16:31:25 +08:00
[CI] Enable Dashboard tests for master (#13425)
This commit is contained in:
@@ -159,6 +159,7 @@ if __name__ == "__main__":
|
||||
RAY_CI_STREAMING_CPP_AFFECTED = 1
|
||||
RAY_CI_STREAMING_PYTHON_AFFECTED = 1
|
||||
RAY_CI_STREAMING_JAVA_AFFECTED = 1
|
||||
RAY_CI_DASHBOARD_AFFECTED = 1
|
||||
else:
|
||||
RAY_CI_TUNE_AFFECTED = 1
|
||||
RAY_CI_SGD_AFFECTED = 1
|
||||
@@ -173,6 +174,7 @@ if __name__ == "__main__":
|
||||
RAY_CI_STREAMING_CPP_AFFECTED = 1
|
||||
RAY_CI_STREAMING_PYTHON_AFFECTED = 1
|
||||
RAY_CI_STREAMING_JAVA_AFFECTED = 1
|
||||
RAY_CI_DASHBOARD_AFFECTED = 1
|
||||
|
||||
if not RAY_CI_TUNE_AFFECTED and not RAY_CI_SERVE_AFFECTED and \
|
||||
not RAY_CI_JAVA_AFFECTED and not RAY_CI_PYTHON_AFFECTED and not \
|
||||
|
||||
+1
-1
@@ -28,4 +28,4 @@ py_test(
|
||||
name = "test_dashboard",
|
||||
size = "medium",
|
||||
srcs = ["tests/test_dashboard.py"],
|
||||
)
|
||||
)
|
||||
|
||||
@@ -91,11 +91,11 @@ def test_get_job_info(disable_aiohttp_cache, ray_start_with_dashboard):
|
||||
for k in check_worker_keys:
|
||||
assert k in one_job_worker
|
||||
|
||||
timeout_seconds = 10
|
||||
timeout_seconds = 30
|
||||
start_time = time.time()
|
||||
last_ex = None
|
||||
while True:
|
||||
time.sleep(1)
|
||||
time.sleep(5)
|
||||
try:
|
||||
_check()
|
||||
break
|
||||
|
||||
@@ -208,10 +208,10 @@ def test_http_get(enable_test_module, ray_start_with_dashboard):
|
||||
|
||||
target_url = webui_url + "/test/dump"
|
||||
|
||||
timeout_seconds = 10
|
||||
timeout_seconds = 30
|
||||
start_time = time.time()
|
||||
while True:
|
||||
time.sleep(1)
|
||||
time.sleep(3)
|
||||
try:
|
||||
response = requests.get(webui_url + "/test/http_get?url=" +
|
||||
target_url)
|
||||
|
||||
Reference in New Issue
Block a user