Skip to content

Commit

Permalink
testsuite/t2601-job-shell.t: don't redirect stderr
Browse files Browse the repository at this point in the history
Problem: t2601-job-shell.t (test 8 - PMI cliques are correct
for 2 ppn) just failed in travis with no useful output.

This test, and a few tests surrounding it, redirect the stderr
of flux job attach to a file, then ignore the file.

Allow flux job attach's stderr to be included in the verbose
test output
  • Loading branch information
garlick committed Dec 23, 2019
1 parent 3e2acf0 commit 54ff0c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions t/t2602-job-shell.t
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ test_expect_success 'job-shell: PMI works' '
'
test_expect_success 'pmi-shell: PMI cliques are correct for 1 ppn' '
id=$(flux jobspec srun -N4 -n4 ${PMI_INFO} -c | flux job submit) &&
flux job attach $id >pmi_clique1.raw 2>pmi_clique1.err &&
flux job attach $id >pmi_clique1.raw &&
sort -snk1 <pmi_clique1.raw >pmi_clique1.out &&
sort >pmi_clique1.exp <<-EOT &&
0: clique=0
Expand All @@ -84,7 +84,7 @@ test_expect_success 'pmi-shell: PMI cliques are correct for 1 ppn' '
'
test_expect_success 'pmi-shell: PMI cliques are correct for 2 ppn' '
id=$(flux jobspec srun -N2 -n4 ${PMI_INFO} -c | flux job submit) &&
flux job attach $id >pmi_clique2.raw 2>pmi_clique2.err &&
flux job attach $id >pmi_clique2.raw &&
sort -snk1 <pmi_clique2.raw >pmi_clique2.out &&
sort >pmi_clique2.exp <<-EOT &&
0: clique=0,1
Expand All @@ -96,7 +96,7 @@ test_expect_success 'pmi-shell: PMI cliques are correct for 2 ppn' '
'
test_expect_success 'pmi-shell: PMI cliques are correct for irregular ppn' '
id=$(flux jobspec srun -N4 -n5 ${PMI_INFO} -c | flux job submit) &&
flux job attach $id >pmi_cliquex.raw 2>pmi_cliquex.err &&
flux job attach $id >pmi_cliquex.raw &&
sort -snk1 <pmi_cliquex.raw >pmi_cliquex.out &&
sort >pmi_cliquex.exp <<-EOT &&
0: clique=0,1
Expand All @@ -109,7 +109,7 @@ test_expect_success 'pmi-shell: PMI cliques are correct for irregular ppn' '
'
test_expect_success 'job-shell: PMI KVS works' '
id=$(flux jobspec srun -N4 ${KVSTEST} | flux job submit) &&
flux job attach $id >kvstest.out 2>kvstest.err &&
flux job attach $id >kvstest.out &&
grep "t phase" kvstest.out
'
test_expect_success 'job-exec: decrease kill timeout for tests' '
Expand Down

0 comments on commit 54ff0c1

Please sign in to comment.