diff --git a/ci/travis/determine_tests_to_run.py b/ci/travis/determine_tests_to_run.py index 0b2957a48..70eefc16a 100644 --- a/ci/travis/determine_tests_to_run.py +++ b/ci/travis/determine_tests_to_run.py @@ -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 \ diff --git a/dashboard/BUILD b/dashboard/BUILD index 70823ecef..19b57dda9 100644 --- a/dashboard/BUILD +++ b/dashboard/BUILD @@ -28,4 +28,4 @@ py_test( name = "test_dashboard", size = "medium", srcs = ["tests/test_dashboard.py"], -) \ No newline at end of file +) diff --git a/dashboard/modules/job/tests/test_job.py b/dashboard/modules/job/tests/test_job.py index ed45ea608..893c20884 100644 --- a/dashboard/modules/job/tests/test_job.py +++ b/dashboard/modules/job/tests/test_job.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 diff --git a/dashboard/tests/test_dashboard.py b/dashboard/tests/test_dashboard.py index 4bd3e0300..1acc94a16 100644 --- a/dashboard/tests/test_dashboard.py +++ b/dashboard/tests/test_dashboard.py @@ -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)