Skip to content

Commit

Permalink
test_socket_cache: Fix a wrong timeout value
Browse files Browse the repository at this point in the history
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
  • Loading branch information
ashie committed May 24, 2022
1 parent e58607d commit cd6ade0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plugin/out_forward/test_socket_cache.rb
Expand Up @@ -138,7 +138,7 @@ def teardown
c.checkin(sock)

# wait timeout
Timecop.freeze(Time.parse('2016-04-13 14:20:00 +0900'))
Timecop.freeze(Time.parse('2016-04-13 14:00:11 +0900'))
c.checkout_or('key') { sock2 }

assert_equal(1, c.instance_variable_get(:@inflight_sockets).size)
Expand Down

0 comments on commit cd6ade0

Please sign in to comment.