[前][次][番号順一覧][スレッド一覧]

ruby-changes:56817

From: NAKAMURA <ko1@a...>
Date: Mon, 5 Aug 2019 12:54:07 +0900 (JST)
Subject: [ruby-changes:56817] NAKAMURA Usaku: 2403f9ac3a (master): Expand the timeout of `test_pstore_files_are_accessed_as_binary_files`

https://git.ruby-lang.org/ruby.git/commit/?id=2403f9ac3a

From 2403f9ac3af170ce0107a709a9cb510fe0501648 Mon Sep 17 00:00:00 2001
From: NAKAMURA Usaku <usa@r...>
Date: Mon, 5 Aug 2019 12:52:14 +0900
Subject: Expand the timeout of
 `test_pstore_files_are_accessed_as_binary_files`

Sometimes causes timeout error on mswin CI

diff --git a/test/test_pstore.rb b/test/test_pstore.rb
index 9d9e856..52b74f3 100644
--- a/test/test_pstore.rb
+++ b/test/test_pstore.rb
@@ -133,7 +133,7 @@ class PStoreTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/test_pstore.rb#L133
   def test_pstore_files_are_accessed_as_binary_files
     bug5311 = '[ruby-core:39503]'
     n = 128
-    assert_in_out_err(["-Eutf-8:utf-8", "-rpstore", "-", @pstore_file], <<-SRC, [bug5311], [], bug5311, timeout: 15)
+    assert_in_out_err(["-Eutf-8:utf-8", "-rpstore", "-", @pstore_file], <<-SRC, [bug5311], [], bug5311, timeout: 30)
       @pstore = PStore.new(ARGV[0])
       (1..#{n}).each do |i|
         @pstore.transaction {@pstore["Key\#{i}"] = "value \#{i}"}
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]