diff --git a/gpus_test.go b/gpus_test.go index e8499fa..06de986 100644 --- a/gpus_test.go +++ b/gpus_test.go @@ -53,7 +53,7 @@ func TestGPUsMetrics(t *testing.T) { t.Logf("Total GPUs: %v", totalGPUs) } } - +/* func TestGPUsGetMetrics(t *testing.T) { metrics := GPUsGetMetrics() t.Logf("Allocated GPUs: %v", metrics.alloc) @@ -61,11 +61,11 @@ func TestGPUsGetMetrics(t *testing.T) { t.Logf("Other GPUs: %v", metrics.other) t.Logf("Total GPUs: %v", metrics.total) t.Logf("Utilization: %v", metrics.utilization) -/* t.Logf("User GPUs DCGM: %v", metrics.UserGPUsDCGM) + t.Logf("User GPUs DCGM: %v", metrics.UserGPUsDCGM) t.Logf("User GPUs SLURM: %v", metrics.UserGPUsSLURM) -*/ + } -/* + func TestUserGPUsDCGM(t *testing.T) { if os.Getenv("RUN_DCGM_TESTS") == "1" { userGPUs := ParseUserGPUsDCGM()