Skip to content

Commit 6f7d6b1

Browse files
sutaakaropenshift-merge-robot
authored andcommitted
Test support: Return WriteRayJobLogs function
1 parent a3db2b2 commit 6f7d6b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/support/ray.go

+4
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,7 @@ func GetRayCluster(t Test, namespace, name string) *rayv1alpha1.RayCluster {
6464
func RayClusterState(cluster *rayv1alpha1.RayCluster) rayv1alpha1.ClusterState {
6565
return cluster.Status.State
6666
}
67+
68+
func WriteRayJobLogs(t Test, rayClient RayClusterClient, namespace, name string) {
69+
WriteRayJobAPILogs(t, rayClient, GetRayJobId(t, namespace, name))
70+
}

0 commit comments

Comments
 (0)