Lets see if resetting the broken control connection fixes the test on Ubuntu as well

This commit is contained in:
Kovid Goyal 2020-12-08 12:03:45 +05:30
parent 593eeaf9ea
commit b28c79f6bb
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout source code
uses: actions/checkout@master

View File

@ -652,6 +652,9 @@ class ServerLoop(object):
self.control_in.write(what)
self.control_in.flush()
except BrokenPipeError:
# this started happening in the CI environment for the ajax_book test
# in early Dec 2020
self.log.error('Control pipe broken, resetting')
self.create_control_connection()
self.control_in.write(what)
self.control_in.flush()