Skip to content

"the I2P router console is ready" step can break due to too small timeout

I’ve seen it fail on a slow Internet connection, while a few seconds later a notification told me that the router console was ready.

How about bumping the timeout a bit, e.g.:

--- a/features/step_definitions/i2p.rb
+++ b/features/step_definitions/i2p.rb
@@ -7,7 +7,7 @@ end

 Given /^the I2P router console is ready$/ do
   next if @skip_steps_while_restoring_background
-  try_for(60) do
+  try_for(120) do
     @vm.execute('. /usr/local/lib/tails-shell-library/i2p.sh; ' +
                 'i2p_router_console_is_ready').success?
   end

Feature Branch: kytv:test/8876-bump-i2p-console-is-ready-timeout

Parent Task: #8539 (closed)

Original created by @intrigeri on 8876 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information