[DRE-commits] [ruby-aruba] 36/74: Kill cucumber after 5 seconds because running this too long will cause a heap overflow on jruby

Hideki Yamane henrich at moszumanska.debian.org
Sat Nov 28 01:16:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch debian/sid
in repository ruby-aruba.

commit ad3fc810dcf7650058a502cb1ee3902386c9773f
Author: Dennis Günnewig <dg1 at ratiodata.de>
Date:   Wed Nov 25 11:36:03 2015 +0100

    Kill cucumber after 5 seconds because running this too long will cause a heap overflow on jruby
---
 features/steps/command/in_process.feature | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/features/steps/command/in_process.feature b/features/steps/command/in_process.feature
index 916f9ab..8803581 100644
--- a/features/steps/command/in_process.feature
+++ b/features/steps/command/in_process.feature
@@ -437,7 +437,8 @@ Feature: Run commands in ruby process
     type some letters on keyboard - can only appear later, but this point is
     never reached, because ruby is blocked.
 
-    Given a file named "lib/cli/app/runner.rb" with:
+    Given the default aruba exit timeout is 5 seconds
+    And a file named "lib/cli/app/runner.rb" with:
     """
     module Cli
       module App
@@ -470,4 +471,4 @@ Feature: Run commands in ruby process
         \"\"\"
     """
     When I run `cucumber`
-    Then the features should not pass
+    Then the exit status should not be 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-aruba.git



More information about the Pkg-ruby-extras-commits mailing list