From ffd1dbccc708f9b0a768d7abb8299a77f10e845a Mon Sep 17 00:00:00 2001 From: Diego Lovison Date: Wed, 27 Mar 2024 08:51:43 -0300 Subject: [PATCH] Add openshift_oauth as a workaround for RHOAIENG-3981 --- .../Resources/Files/pipeline-samples/v2/ray_integration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ods_ci/tests/Resources/Files/pipeline-samples/v2/ray_integration.py b/ods_ci/tests/Resources/Files/pipeline-samples/v2/ray_integration.py index 45d0d5f71..e217bb500 100644 --- a/ods_ci/tests/Resources/Files/pipeline-samples/v2/ray_integration.py +++ b/ods_ci/tests/Resources/Files/pipeline-samples/v2/ray_integration.py @@ -14,11 +14,11 @@ def ray_fn(openshift_server: str, openshift_token: str) -> int: auth_return = auth.login() print(f'auth_return: "{auth_return}"') print("after login") + # openshift_oauth is a workaround for RHOAIENG-3981 cluster = Cluster( ClusterConfiguration( name="raytest", - # namespace must exist, and it is the same from 432__data-science-pipelines-tekton.robot - namespace="pipelineskfp1", + openshift_oauth=True, num_workers=1, head_cpus="500m", min_memory=1,