You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2017/11/30 14:00:37 UTC

[2/2] qpid-proton git commit: PROTON-1636: [ruby] fix race condition in ruby container tests

PROTON-1636: [ruby] fix race condition in ruby container tests

Made "stopped" a terminal state for the Container to avoid races during
shut-down, e.g. because threads have not even entered #run when the container
auto-stops.


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/0d399a22
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/0d399a22
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/0d399a22

Branch: refs/heads/master
Commit: 0d399a229abd66e0bb3fa473e65f1681772cec2a
Parents: 584d3af
Author: Alan Conway <ac...@redhat.com>
Authored: Mon Nov 27 13:56:19 2017 -0500
Committer: Alan Conway <ac...@redhat.com>
Committed: Thu Nov 30 08:59:54 2017 -0500

----------------------------------------------------------------------
 proton-c/bindings/ruby/tests/old_examples/old_example_test.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/0d399a22/proton-c/bindings/ruby/tests/old_examples/old_example_test.rb
----------------------------------------------------------------------
diff --git a/proton-c/bindings/ruby/tests/old_examples/old_example_test.rb b/proton-c/bindings/ruby/tests/old_examples/old_example_test.rb
index 0ade719..de8077c 100755
--- a/proton-c/bindings/ruby/tests/old_examples/old_example_test.rb
+++ b/proton-c/bindings/ruby/tests/old_examples/old_example_test.rb
@@ -23,7 +23,7 @@ require 'qpid_proton'
 require 'socket'
 
 def unused_port; TCPServer.open(0) { |s| s.addr[1] } end
-def make_url(port, path) "amqp://:#{port}/${path}"; end # Make a proton pseudo-url
+def make_url(port, path) "amqp://:#{port}/#{path}"; end
 
 class OldExampleTest < MiniTest::Test
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org