[folks] tests: Remove unnecessary timeout from link-personas



commit 6b99c505ac13c2cf8edae61da868fb815275a130
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Mar 4 13:09:40 2015 +0000

    tests: Remove unnecessary timeout from link-personas
    
    This is redundant with the addition of the generic test code which
    empties the main context at the end of each test.

 tests/eds/link-personas.vala |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/tests/eds/link-personas.vala b/tests/eds/link-personas.vala
index 05dc804..16ea8ac 100644
--- a/tests/eds/link-personas.vala
+++ b/tests/eds/link-personas.vala
@@ -401,12 +401,7 @@ public class LinkPersonasTests : EdsTest.TestCase
 
           if (this._linking_props.size == 0)
             {
-              /* FIXME: if the timeout is reached, should this just fail? */
-              Timeout.add_seconds (5, () =>
-                {
-                  this._main_loop.quit ();
-                  return false;
-                });
+              this._main_loop.quit ();
             }
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]