There’s a clear opportunity to reduce code duplication in the following files:
• ray-operator/test/e2eautoscaler/support.go
• ray-operator/test/e2erayservice/support.go
Both contain functions that duplicate logic already implemented in ray-operator/test/support/support.go. To improve maintainability and reduce redundancy, I suggest refactoring these files to reuse the existing functions from test/support/support.go, removing the duplicated implementations.
Related PRs: #3932