[CI] Enable Dashboard tests for master (#13425)

This commit is contained in:
Simon Mo
2021-01-15 09:43:34 -08:00
committed by GitHub
parent f6d9996874
commit dac8b3d58a
4 changed files with 7 additions and 5 deletions
+2
View File
@@ -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
View File
@@ -28,4 +28,4 @@ py_test(
name = "test_dashboard",
size = "medium",
srcs = ["tests/test_dashboard.py"],
)
)
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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)