Skip to content

Commit 90f6759

Browse files
authored
fix: rename JAX and Torch runtime plugin tests to descriptive names (kubeflow#3283)
Signed-off-by: Amir380-A <62997533+Amir380-A@users.noreply.github.com>
1 parent 525350b commit 90f6759

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/runtime/framework/plugins/jax/jax_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737
utiltesting "github.com/kubeflow/trainer/v2/pkg/util/testing"
3838
)
3939

40-
func TestJax(t *testing.T) {
40+
func TestJAXEnforceMLPolicy(t *testing.T) {
4141
cases := map[string]struct {
4242
info *runtime.Info
4343
trainJob *trainer.TrainJob

pkg/runtime/framework/plugins/torch/torch_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import (
4141
utiltesting "github.com/kubeflow/trainer/v2/pkg/util/testing"
4242
)
4343

44-
func TestTorch(t *testing.T) {
44+
func TestTorchEnforceMLPolicy(t *testing.T) {
4545
cases := map[string]struct {
4646
info *runtime.Info
4747
trainJob *trainer.TrainJob
@@ -1396,7 +1396,7 @@ func TestTorch(t *testing.T) {
13961396
}
13971397
}
13981398

1399-
func TestValidate(t *testing.T) {
1399+
func TestTorchValidate(t *testing.T) {
14001400
cases := map[string]struct {
14011401
info *runtime.Info
14021402
oldObj *trainer.TrainJob

0 commit comments

Comments
 (0)