HomeClusterLabs Projects
Diffusion Booth 206f8b99de4b

Drain the Booth output before terminating.

Description

Drain the Booth output before terminating.

I had an error once in ~400 test runs in the self.booth.close()
line below:

pexpect.ExceptionPexpect: close() could not terminate
   the child using terminate()

Perhaps that was caused by unread data on the pipe; let's try draining.

Details

Provenance
Philipp Marek <philipp.marek@linbit.com>Authored on Feb 18 2014, 8:27 AM
Parents
rBacd59904cc73: There's a pexpect.sendintr(), no need to "kill".
Branches
Unknown
Tags
Unknown

Event Timeline