From 4907b11a968471ee6b8321ab7fcfc0361137b812 Mon Sep 17 00:00:00 2001 From: Morris Jette <jette@schedmd.com> Date: Wed, 3 Jan 2018 09:43:10 -0700 Subject: [PATCH] Fix test for running Epilog If running on a single node cluster with an epilog, the delay could cause this test to fail --- testsuite/expect/test15.32 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/testsuite/expect/test15.32 b/testsuite/expect/test15.32 index 1b531d5d09d..e14419f33c1 100755 --- a/testsuite/expect/test15.32 +++ b/testsuite/expect/test15.32 @@ -82,6 +82,11 @@ if {$found == 1} { # Identify usable nodes in default partition # set def_node [get_idle_node_in_part [default_partition]] +if {[string compare $def_node ""] == 0} { +# Wait for possible Epilog + sleep 10 + set def_node [get_idle_node_in_part [default_partition]] +} if {[string compare $def_node ""] == 0} { send_user "\nFAILURE: default partition seems to have no nodes\n" exit 1 -- GitLab