Skip to content
Snippets Groups Projects
Commit 552ed09d authored by Morris Jette's avatar Morris Jette
Browse files

Modify test to ignore new srun warning

srun was modified to log
Warning: can't honor --ntasks-per-node set to 8 which doesn't match the requested tasks 23 with the number of requested nodes 3.  Ignoring --ntasks-per-node.
but this tests was parsing that warning, causing a test failure.
Modify the test's parsing logic.
parent 223da891
No related branches found
No related tags found
No related merge requests found
...@@ -235,7 +235,7 @@ proc submit_cpu {ntasks ncpus} { ...@@ -235,7 +235,7 @@ proc submit_cpu {ntasks ncpus} {
-re "job ($number)" { -re "job ($number)" {
exp_continue exp_continue
} }
-re "($number) ($alpha_numeric_nodelist)" { -re " ($number) ($alpha_numeric_nodelist)" {
set tasks($x) $expect_out(1,string) set tasks($x) $expect_out(1,string)
set nodes($x) $expect_out(2,string) set nodes($x) $expect_out(2,string)
incr x 1 incr x 1
...@@ -271,7 +271,7 @@ proc submit_tasks {ntasks ntaskpn} { ...@@ -271,7 +271,7 @@ proc submit_tasks {ntasks ntaskpn} {
-re "job ($number)" { -re "job ($number)" {
exp_continue exp_continue
} }
-re "($number) ($alpha_numeric_nodelist)" { -re " ($number) ($alpha_numeric_nodelist)" {
set tasks($x) $expect_out(1,string) set tasks($x) $expect_out(1,string)
set nodes($x) $expect_out(2,string) set nodes($x) $expect_out(2,string)
incr x 1 incr x 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment