From 331755c5e97ff1a5c0a4a3ceed9c26ea2c580768 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Sun, 16 Feb 2020 22:16:22 +0900 Subject: [PATCH] Revert "test/openssl/test_ts.rb: tentatively skip a failing test on CentOS 6.9" This reverts commit a6d007c70b3aa5b55c9ca774446130356bd36eac. Unfortunately, the test fails on armv7l https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20200216T091708Z.fail.html.gz --- test/openssl/test_ts.rb | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/test/openssl/test_ts.rb b/test/openssl/test_ts.rb index 9af502267e..c57f08cf7a 100644 --- a/test/openssl/test_ts.rb +++ b/test/openssl/test_ts.rb @@ -67,17 +67,15 @@ _end_of_pem_ @ts_cert_ee ||= OpenSSL::Certs.ts_cert_ee(ee_key, intermediate_cert, intermediate_key) end - # Tentatively, skip this test to make CentOS 6.9 CI green. - # After it become green, I'll remove CentOS 6.9 + ruby master from CI matrix - #def test_create_request - # req = OpenSSL::Timestamp::Request.new - # assert_equal(true, req.cert_requested?) - # assert_equal(1, req.version) - # assert_nil(req.algorithm) - # assert_equal("", req.message_imprint) - # assert_nil(req.policy_id) - # assert_nil(req.nonce) - #end + def test_create_request + req = OpenSSL::Timestamp::Request.new + assert_equal(true, req.cert_requested?) + assert_equal(1, req.version) + assert_nil(req.algorithm) + assert_equal("", req.message_imprint) + assert_nil(req.policy_id) + assert_nil(req.nonce) + end def test_request_mandatory_fields req = OpenSSL::Timestamp::Request.new