Sha256: 676c3fe6f48537f186c7f9d712e2d519a639978981d3838310eba318167cdce7
Contents?: true
Size: 797 Bytes
Versions: 1
Compression:
Stored size: 797 Bytes
Contents
Feature: Run simple subprocesses stopping them at timeout if not complete As a ruby hacker I want to run system subprocesses And I want them to terminate by a set timeout So that I don't end up with a bunch of zombies Scenario: run simple subprocess that goes past timeout Given I have a new subprocess that takes more than 5 seconds to run And I set a timeout of 5 seconds When I invoke the run method of said subprocess with timeout Then the subprocess should exit with exitcode 1 Scenario: run simple subprocess that does not go past timeout Given I have a new subprocess that takes less than 5 seconds to run And I set a timeout of 5 seconds When I invoke the run method of said subprocess with timeout Then the subprocess should complete fine
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
subprocess-0.1.6 | features/popen_with_timeout.feature |