pytorch-operator
pytorch-operator copied to clipboard
Leverage E2e test framework in tf-operator
From https://github.com/kubeflow/pytorch-operator/pull/101#issuecomment-440104646
Investigate how we can leverage e2e test framework in tf-operator
Related: #101
/assign Akado2009
In addition to this, we need to add more tests for different job conditions similar to TF operator
@richardsliu Shall we replicate the test framework after modifying for the pytorch operator? Any other options?
Can we move the test framework code (test_runner etc) into kubeflow/testing? That way we don't need to replicate the code in every repository.
@jlewi How do you feel about that?
@richardsliu @jlewi so waht do you think about that? Sounds like a great idea
The risk of moving test framework code into kubeflow/testing is that if it breaks, all presubmit tests in all repos also break. Fixing the test framework also requires a PR to be merged in kubeflow/testing first, before the changes take effect in kubeflow/tf-operator.
We currently don't have a lot of repos that utilize the Python test framework. Perhaps pytorch can just import the python libraries directly from tf-operator?