test/rbbt/util/test_persistence.rb in rbbt-util-3.1.0 vs test/rbbt/util/test_persistence.rb in rbbt-util-3.2.0
- old
+ new
@@ -151,14 +151,14 @@
assert_equal "Test", string
end
def test_non_blocking
- $a = TSV.new test_datafile('test.tsv'), :persistence => true, :persistence_dir => Rbbt.tmp.test.persistence
+ $a = TSV.new datafile_test('test.tsv'), :persistence => true, :persistence_dir => Rbbt.tmp.test.persistence
$a.data.read
pid = Process.fork do
- $b = TSV.new test_datafile('test.tsv'), :persistence => true, :persistence_dir => Rbbt.tmp.test.persistence
+ $b = TSV.new datafile_test('test.tsv'), :persistence => true, :persistence_dir => Rbbt.tmp.test.persistence
$b.data.close
end
Process.wait pid
end