ruby-changes:62532
From: Kazuhiro <ko1@a...>
Date: Thu, 6 Aug 2020 22:06:48 +0900 (JST)
Subject: [ruby-changes:62532] 99e4852766 (master): Add verbose message to random failed assertion
https://git.ruby-lang.org/ruby.git/commit/?id=99e4852766 From 99e4852766a83a5342f75400531d569363a67cc2 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Thu, 6 Aug 2020 22:04:39 +0900 Subject: Add verbose message to random failed assertion for example: http://ci.rvm.jp/results/trunk-random1@phosphorus-docker/3111251 http://ci.rvm.jp/results/trunk-random1@phosphorus-docker/3109195 diff --git a/test/openssl/test_x509store.rb b/test/openssl/test_x509store.rb index e9602e3..57941fe 100644 --- a/test/openssl/test_x509store.rb +++ b/test/openssl/test_x509store.rb @@ -128,7 +128,7 @@ class OpenSSL::TestX509Store < OpenSSL::TestCase https://github.com/ruby/ruby/blob/trunk/test/openssl/test_x509store.rb#L128 assert_equal(@ee2.to_der, chain[0].subject.to_der) assert_equal(@ca2.to_der, chain[1].subject.to_der) assert_equal(@ca1.to_der, chain[2].subject.to_der) - assert_equal(false, store.verify(ee3_cert)) + assert_equal(false, store.verify(ee3_cert), "store=#{store.inspect} ee3_cert=#{ee3_cert.inspect}") assert_equal(OpenSSL::X509::V_ERR_CERT_HAS_EXPIRED, store.error) assert_match(/expire/i, store.error_string) assert_equal(false, store.verify(ee4_cert)) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/