bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a8a55870f92734076e62eb76165b55b2a161098e

commit a8a55870f92734076e62eb76165b55b2a161098e
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Jun 26 18:17:24 2018 -0400

    tests: cancel the timeout timer when cleaning up eio tests
    
    this timer could persist and cause cascading failures for subsequent
    tests when running in non-forked mode
    
    @fix
    
    Differential Revision: https://phab.enlightenment.org/D6446
---
 src/tests/eio/eio_test_monitor.c | 1 +
 src/tests/eio/eio_test_sentry.c  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/tests/eio/eio_test_monitor.c b/src/tests/eio/eio_test_monitor.c
index 7d087b3464..19e0a2404a 100644
--- a/src/tests/eio/eio_test_monitor.c
+++ b/src/tests/eio/eio_test_monitor.c
@@ -130,6 +130,7 @@ static void _common_shutdown(Eina_Tmpstr *dirname)
    _delete_directory((void*)dirname);
    ecore_file_shutdown();
    eina_tmpstr_del(dirname);
+   _cancel_timeout();
 }
 
 /////// tests monitoring a directory
diff --git a/src/tests/eio/eio_test_sentry.c b/src/tests/eio/eio_test_sentry.c
index 038e085060..349743652c 100644
--- a/src/tests/eio/eio_test_sentry.c
+++ b/src/tests/eio/eio_test_sentry.c
@@ -129,6 +129,7 @@ static void _common_shutdown(Eina_Tmpstr *dirname)
    _delete_directory((void*)dirname);
    ecore_file_shutdown();
    eina_tmpstr_del(dirname);
+   _cancel_timeout();
 }
 
 /////// tests monitoring a directory

-- 


Reply via email to