Skip to content

Commit

Permalink
qa: capture bad socat state on older platforms, _notrun qa/1130 if found
Browse files Browse the repository at this point in the history
  • Loading branch information
natoscott committed Jul 19, 2024
1 parent 0140bc0 commit 5825bdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qa/1130
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ sleep 5
echo kill pcp2elasticsearch `date '+%H:%M:%S.%N'` >>$seq.full
$signal $pid 2>/dev/null
wait
grep -q 'Remote end closed connection without response' $tmp.socat.err && \
_notrun "socat on this platform is not behaving as expected"
grep -E -q '^PUT /+pcp HTTP/' $tmp.socat.err
[ $? -eq 0 ] && echo "Found correct index in output"
grep -E -q '"hinv": {"ncpu": '$ncpu'}' $tmp.socat.err
Expand Down

0 comments on commit 5825bdd

Please sign in to comment.