1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Fixup some busted testsn

This commit is contained in:
Evan Phoenix 2019-02-20 10:19:50 -08:00
parent 50b23bb2c1
commit 336f8c1873
2 changed files with 2 additions and 2 deletions

View file

@ -197,7 +197,7 @@ class TestCLI < Minitest::Test
gc_count_after = gc_stats["count"].to_i
# Hitting the /gc route should increment the count by 1
assert_equal gc_count_before + 1, gc_count_after
assert(gc_count_before < gc_count_after, "make sure a gc has happened")
cli.launcher.stop
t.join

View file

@ -56,7 +56,7 @@ class TestConfigFile < Minitest::Test
conf.load
ssl_binding = "ssl://0.0.0.0:9292?cert=/path/to/cert&key=/path/to/key&verify_mode=the_verify_mode"
ssl_binding = "ssl://0.0.0.0:9292?cert=/path/to/cert&key=/path/to/key&verify_mode=the_verify_mode&no_tlsv1=false"
assert_equal [ssl_binding], conf.options[:binds]
end