Skip to content

Commit

Permalink
Increase wxWidgets test load time; 45 seconds keeps timing out on git…
Browse files Browse the repository at this point in the history
…lab runner
  • Loading branch information
wcjohns committed Jun 28, 2023
1 parent 16f8483 commit 1a0d4b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions target/wxWidgets/InterSpecWxApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -749,15 +749,16 @@ InterSpecWxApp::InterSpecWxApp() :

if( sm_test_load_only )
{
// Right now we'll just wait 45 seconds, and if things havent loaded, declare failure.
// Right now we'll just wait 180 seconds, and if things havent loaded, declare failure.
// Normally shouldnt take very long, but on some test runners it can take a while.
// When things load, we'll stop this timer and clear it.
//
// However, there are some hooks we could probably use to fail faster - see:
// void InterSpecApp::unload()
// void InterSpecApp::prepareForEndOfSession()
// void InterSpecApp::finalize()
// for possible hooks to check failure.
sm_check_load_timer.reset( new CheckLoadTimer( this, 45 ) );
sm_check_load_timer.reset( new CheckLoadTimer( this, 180 ) );
}//if( sm_test_load_only )

InterSpecWebFrame* frame = new InterSpecWebFrame(m_url, no_restore, file_to_open);
Expand Down

0 comments on commit 1a0d4b8

Please sign in to comment.