Skip to content

Commit 9938411

Browse files
authored
Merge pull request #1293 from supercaracal/fix-a-test
2 parents 6afa62b + a46f9db commit 9938411

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
run: make start
5858
- name: Test
5959
run: bundle exec rake test:redis test:distributed
60+
timeout-minutes: 3
6061
- name: Shutting down Redis
6162
run: make stop
6263

test/redis/ssl_test.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def test_verified_ssl_connection
1616
RedisMock.start({ ping: proc { "+PONG" } }, ssl_server_opts("trusted")) do |port|
1717
redis = Redis.new(host: "127.0.0.1", port: port, ssl: true, ssl_params: { ca_file: ssl_ca_file })
1818
assert_equal redis.ping, "PONG"
19+
redis.close
1920
end
2021
end
2122

@@ -41,6 +42,7 @@ def test_ssl_blocking
4142
RedisMock.start({}, ssl_server_opts("trusted")) do |port|
4243
redis = Redis.new(host: "127.0.0.1", port: port, ssl: true, ssl_params: { ca_file: ssl_ca_file })
4344
assert_equal redis.set("boom", "a" * 10_000_000), "OK"
45+
redis.close
4446
end
4547
end
4648

0 commit comments

Comments
 (0)