Kaydet (Commit) ba0b7bca authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Increase test timeout

...it now matches the duration of another nearby timeout in the code, and it
happened to cause a parallel "make check" to sometimes fail on a slow MacBook.

Change-Id: If8bddb82a05c46637fdc2fcc3373411fcb37a466
üst 6f8caab7
...@@ -179,7 +179,7 @@ public class UndoManager ...@@ -179,7 +179,7 @@ public class UndoManager
impl_clickButton( buttonModel ); impl_clickButton( buttonModel );
// the macro is executed asynchronously by the button, so wait at most 2 seconds for the callback to be // the macro is executed asynchronously by the button, so wait at most 2 seconds for the callback to be
// triggered // triggered
impl_waitFor( m_callbackCondition, 2000 ); impl_waitFor( m_callbackCondition, 20000 );
// check the callback has actually been called // check the callback has actually been called
assertTrue( "clicking the test button did not work as expected - basic script not called", m_callbackCalled ); assertTrue( "clicking the test button did not work as expected - basic script not called", m_callbackCalled );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment