We've have run into a few challenges using Ripple::TestServer and was wondering if someone here may be able to shed a little light.
We experienced intermittent failures when trying to run integration tests saying that the test server could not find open pipes. We aren't certain why this is happening and have posted a few comments to this issue: https://github.com/basho/ripple/issues/278 Is there something we are doing incorrectly in our configuration? Here is a sample stack trace that we see: 1) Error: test_foo: RuntimeError: Could not find or open pipes for Riak console in /tmp/riak_test_server/pipe.[ Broken pipe - Broken pipe ] /vendor/bundle/jruby/1.9/gems/riak-client-1.1.0/lib/riak/node/console.rb:72:in initialize' /vendor/bundle/jruby/1.9/gems/riak-client-1.1.0/lib/riak/node/console.rb:22:in open' /vendor/bundle/jruby/1.9/gems/riak-client-1.1.0/lib/riak/node/control.rb:71:in attach' /vendor/bundle/jruby/1.9/gems/riak-client-1.1.0/lib/riak/test_server.rb:69:in maybe_attach' /vendor/bundle/jruby/1.9/gems/riak-client-1.1.0/lib/riak/test_server.rb:40:in start' /vendor/cache/ripple-676cf259590a/lib/ripple/test_server.rb:14:insetup' /test/test_helper.rb:11:in _callback_before_43' /vendor/bundle/jruby/1.9/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:443:in _run__589859293__setup__2084328715__callbacks' org/jruby/RubyBasicObject.java:1659:in __send__' org/jruby/RubyKernel.java:2086:insend' /vendor/bundle/jruby/1.9/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:405:in __run_callback' /vendor/bundle/jruby/1.9/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:390:in _run_setup_callbacks' org/jruby/RubyBasicObject.java:1659:in __send__' org/jruby/RubyKernel.java:2086:insend' /vendor/bundle/jruby/1.9/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:81:in run_callbacks' /vendor/bundle/jruby/1.9/gems/activesupport-3.2.9/lib/active_support/testing/setup_and_teardown.rb:35:in run' Thanks, Ariel Valentin e-mail: [email protected] website: http://blog.arielvalentin.com skype: ariel.s.valentin twitter: arielvalentin linkedin: http://www.linkedin.com/profile/view?id=8996534 --------------------------------------- *simplicity *communication *feedback *courage *respect
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
