@@ -179,7 +179,7 @@ def test_write_expires_at
179
179
cache = lookup_store ( raw : true , namespace : nil )
180
180
181
181
Time . stub ( :now , Time . now ) do
182
- assert_called_with client ( cache ) , :set , [ "key_with_expires_at" , "bar" , 30 * 60 ] , namespace : nil , pool : false , raw : true , compress_threshold : 1024 , expires_in : 1800.0 do
182
+ assert_called_with client ( cache ) , :set , [ "key_with_expires_at" , "bar" , 30 * 60 ] , namespace : nil , pool : false , raw : true , compress_threshold : 1024 , expires_in : 1800.0 , socket_timeout : 60 do
183
183
cache . write ( "key_with_expires_at" , "bar" , expires_at : 30 . minutes . from_now )
184
184
end
185
185
end
@@ -265,7 +265,7 @@ def test_no_multiple_compress
265
265
def test_unless_exist_expires_when_configured
266
266
cache = lookup_store ( namespace : nil )
267
267
268
- assert_called_with client ( cache ) , :add , [ "foo" , Object , 1 ] , namespace : nil , pool : false , compress_threshold : 1024 , expires_in : 1 , unless_exist : true do
268
+ assert_called_with client ( cache ) , :add , [ "foo" , Object , 1 ] , namespace : nil , pool : false , compress_threshold : 1024 , expires_in : 1 , socket_timeout : 60 , unless_exist : true do
269
269
cache . write ( "foo" , "bar" , expires_in : 1 , unless_exist : true )
270
270
end
271
271
end
0 commit comments