Skip to content
Snippets Groups Projects
Commit b01ef083 authored by Albert Gil's avatar Albert Gil
Browse files

Testsuite - Improve test1.68 reducing the sleep times


Bug 7022

Signed-off-by: default avatarMichael Hinton <hinton@schedmd.com>
parent f1da92a5
No related branches found
No related tags found
No related merge requests found
...@@ -48,13 +48,13 @@ make_bash_script $test_timer " ...@@ -48,13 +48,13 @@ make_bash_script $test_timer "
for i in \{1..10\} for i in \{1..10\}
do do
echo \"time \$i\" echo \"time \$i\"
sleep 5 sleep 3
done done
echo \"Test finished\" echo \"Test finished\"
" "
make_bash_script $stop_srun " make_bash_script $stop_srun "
$bin_sleep 15 $bin_sleep 10
srun_proc=\$1 srun_proc=\$1
echo \"suspending job, pid=\$srun_proc\" echo \"suspending job, pid=\$srun_proc\"
kill -s stop \$srun_proc kill -s stop \$srun_proc
...@@ -70,7 +70,7 @@ bg ...@@ -70,7 +70,7 @@ bg
if \[ \$? != 0 \]; then if \[ \$? != 0 \]; then
echo \"BG Failed\" echo \"BG Failed\"
fi fi
$bin_sleep 25 $bin_sleep 10
echo \"sending job to foreground\" echo \"sending job to foreground\"
fg fg
if \[ \$? != 0 \]; then if \[ \$? != 0 \]; then
......
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