purebred-mua / tasty-tmux

Terminal user acceptance testing via tmux
GNU Affero General Public License v3.0
6 stars 0 forks source link

Keepalive session isn't cleaned up in case of failure #15

Closed romanofski closed 4 years ago

romanofski commented 4 years ago

Describe the bug In case of a setup failure the keepalive session isn't cleaned up.

To Reproduce Steps to reproduce the behavior:

  1. Run the UAT pointing the PATH to a directory not containing purebred, e.g. PATH=foo cabal --enable-nix test --show-details=streaming uat
  2. First run fails with Exception: purebred: startProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
  3. Now run it again and the first exception is:
    user acceptance tests                                                                                                                 
    user can view mail:                                       duplicate session: keepalive

Expected behavior Keepalive session is cleaned up in case of failure.

Additional context None

frasertweedale commented 4 years ago

@romanofski shouldn't this be filed against tasty-tmux?

romanofski commented 4 years ago

Ah drat yes!!! Must have been asleep last night. I'll move it.