Bug 1341938 - Extend ticket lifetime in tests, r=ttaubert
authorMartin Thomson <martin.thomson@gmail.com>
Fri, 24 Feb 2017 11:44:22 +1100
changeset 13170 358232530d61af934470df2467adb3f7ee4f62a7
parent 13169 f70d9407d5fc698f81cab15fbf6f6a502f6db699
child 13171 93762f93024976dcbf01a0ac4a186d84fd9081ac
push id2048
push usermartin.thomson@gmail.com
push dateFri, 24 Feb 2017 23:44:53 +0000
reviewersttaubert
bugs1341938
Bug 1341938 - Extend ticket lifetime in tests, r=ttaubert
gtests/ssl_gtest/tls_connect.cc
--- a/gtests/ssl_gtest/tls_connect.cc
+++ b/gtests/ssl_gtest/tls_connect.cc
@@ -169,17 +169,17 @@ void TlsConnectTestBase::ClearServerCach
   SSL_ShutdownServerSessionIDCache();
   SSLInt_ClearSessionTicketKey();
   SSL_ConfigServerSessionIDCache(1024, 0, 0, g_working_dir_path.c_str());
 }
 
 void TlsConnectTestBase::SetUp() {
   SSL_ConfigServerSessionIDCache(1024, 0, 0, g_working_dir_path.c_str());
   SSLInt_ClearSessionTicketKey();
-  SSLInt_SetTicketLifetime(10);
+  SSLInt_SetTicketLifetime(30);
   ClearStats();
   Init();
 }
 
 void TlsConnectTestBase::TearDown() {
   client_ = nullptr;
   server_ = nullptr;