Create named subtests for each NCCL test

PiperOrigin-RevId: 651601366
This commit is contained in:
Anthony Cui
2024-07-11 18:39:59 -07:00
committed by gVisor bot
parent ab513ff9bb
commit 1294157cbe
+3 -2
View File
@@ -54,7 +54,8 @@ func TestNCCL(t *testing.T) {
ctx := context.Background()
for _, test := range testNames {
t.Logf("Running NCCL test: %s", test)
runNCCL(ctx, t, test)
t.Run(test, func(t *testing.T) {
runNCCL(ctx, t, test)
})
}
}