summaryrefslogtreecommitdiff
path: root/test/yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/yaml')
-rw-r--r--test/yaml/test_store.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/yaml/test_store.rb b/test/yaml/test_store.rb
index 9112c569a3..ef8d3229c1 100644
--- a/test/yaml/test_store.rb
+++ b/test/yaml/test_store.rb
@@ -75,7 +75,7 @@ class YAMLStoreTest < Test::Unit::TestCase
end
def test_thread_safe
- q1 = Queue.new
+ q1 = Thread::Queue.new
assert_raise(PStore::Error) do
th = Thread.new do
@yaml_store.transaction do
@@ -92,7 +92,7 @@ class YAMLStoreTest < Test::Unit::TestCase
th.join
end
end
- q2 = Queue.new
+ q2 = Thread::Queue.new
begin
yaml_store = YAML::Store.new(second_file, true)
cur = Thread.current