client: add test for driverfailure during fingerprinting

This commit is contained in:
Nick Ethier
2018-10-11 15:42:08 -04:00
committed by Michael Schurter
parent b751030765
commit 2e055fe18a
4 changed files with 74 additions and 10 deletions

View File

@@ -196,6 +196,7 @@ func (r *RawExecDriver) Fingerprint(ctx context.Context) (<-chan *drivers.Finger
}
func (r *RawExecDriver) handleFingerprint(ctx context.Context, ch chan *drivers.Fingerprint) {
defer close(ch)
ticker := time.NewTimer(0)
for {
select {