Skip to content

Commit

Permalink
Remove tests that cannot run without slurm
Browse files Browse the repository at this point in the history
  • Loading branch information
fihuer committed Jul 3, 2024
1 parent fc1338b commit 641544a
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 54 deletions.
4 changes: 0 additions & 4 deletions cpus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ func TestCPUsMetrics(t *testing.T) {
data, err := ioutil.ReadAll(file)
t.Logf("%+v", ParseCPUsMetrics(data))
}

func TestCPUssGetMetrics(t *testing.T) {
t.Logf("%+v", CPUsGetMetrics())
}
4 changes: 0 additions & 4 deletions queue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ func TestParseQueueMetrics(t *testing.T) {
data, err := ioutil.ReadAll(file)
t.Logf("%+v", ParseQueueMetrics(data))
}

func TestQueueGetMetrics(t *testing.T) {
t.Logf("%+v", QueueGetMetrics())
}
4 changes: 0 additions & 4 deletions scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ func TestSchedulerMetrics(t *testing.T) {
data, err := ioutil.ReadAll(file)
t.Logf("%+v", ParseSchedulerMetrics(data))
}

func TestSchedulerGetMetrics(t *testing.T) {
t.Logf("%+v", SchedulerGetMetrics())
}
84 changes: 42 additions & 42 deletions test_data/squeue.txt
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
15451729,RUNNING
15452255,RUNNING
15452256,RUNNING
15452444,RUNNING
15451731,RUNNING
15451730,RUNNING
15451727,RUNNING
15452445,RUNNING
15452434,RUNNING
15452435,RUNNING
15452259,RUNNING
15451726,RUNNING
15451725,RUNNING
15306588,RUNNING
15452446,RUNNING
15452436,RUNNING
15452437,RUNNING
15452431,CONFIGURING
15452432,RUNNING
15452260,RUNNING
15452448,PREEMPTED
15452441,NODE_FAIL
15452442,COMPLETED
15452443,RUNNING
15452427,RUNNING
15452428,COMPLETING
15452429,RUNNING
15452424,COMPLETING
15452425,RUNNING
15452426,FAILED
15452422,RUNNING
15452423,PENDING
15452420,PENDING
15452421,PENDING
15452394,PENDING
15452401,RUNNING
15452258,TIMEOUT
15452468,RUNNING
15452466,SUSPENDED
15452465,CANCELLED
15452451,RUNNING
15452452,RUNNING
15451729,RUNNING,12,,foo
15452255,RUNNING,12,,foo
15452256,RUNNING,12,,foo
15452444,RUNNING,12,,foo
15451731,RUNNING,12,,foo
15451730,RUNNING,12,,foo
15451727,RUNNING,12,,foo
15452445,RUNNING,12,,foo
15452434,RUNNING,12,,foo
15452435,RUNNING,12,,foo
15452259,RUNNING,12,,foo
15451726,RUNNING,12,,foo
15451725,RUNNING,12,,foo
15306588,RUNNING,12,,foo
15452446,RUNNING,12,,foo
15452436,RUNNING,12,,foo
15452437,RUNNING,12,,foo
15452431,CONFIGURING,12,,foo
15452432,RUNNING,12,,foo
15452260,RUNNING,12,,foo
15452448,PREEMPTED,12,,bar
15452441,NODE_FAIL,12,,bar
15452442,COMPLETED,12,,bar
15452443,RUNNING,12,,bar
15452427,RUNNING,12,,bar
15452428,COMPLETING,12,,bar
15452429,RUNNING,12,,bar
15452424,COMPLETING,12,,bar
15452425,RUNNING,12,,bar
15452426,FAILED,12,,bar
15452422,RUNNING,12,,bar
15452423,PENDING,12,Licenses,bar
15452420,PENDING,12,Licenses,bar
15452421,PENDING,12,Licenses,bar
15452394,PENDING,12,Licenses,bar
15452401,RUNNING,12,,bar
15452258,TIMEOUT,12,,bar
15452468,RUNNING,12,,bar
15452466,SUSPENDED,12,,bar
15452465,CANCELLED,12,,bar
15452451,RUNNING,12,,bar
15452452,RUNNING,12,,bar

0 comments on commit 641544a

Please sign in to comment.