summaryrefslogtreecommitdiff
path: root/src/tests/eio
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-06-26 18:17:24 -0400
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-06-28 18:08:45 +0200
commita8a55870f92734076e62eb76165b55b2a161098e (patch)
treed5ffa3891cc0ca11e5f16eebfd0450a06ce5b1a5 /src/tests/eio
parent5b6ebfc03b4a72debe7ca3dbe6345f6b0c2ae1d0 (diff)
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
Diffstat (limited to 'src/tests/eio')
-rw-r--r--src/tests/eio/eio_test_monitor.c1
-rw-r--r--src/tests/eio/eio_test_sentry.c1
2 files changed, 2 insertions, 0 deletions
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)
130 _delete_directory((void*)dirname); 130 _delete_directory((void*)dirname);
131 ecore_file_shutdown(); 131 ecore_file_shutdown();
132 eina_tmpstr_del(dirname); 132 eina_tmpstr_del(dirname);
133 _cancel_timeout();
133} 134}
134 135
135/////// tests monitoring a directory 136/////// 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)
129 _delete_directory((void*)dirname); 129 _delete_directory((void*)dirname);
130 ecore_file_shutdown(); 130 ecore_file_shutdown();
131 eina_tmpstr_del(dirname); 131 eina_tmpstr_del(dirname);
132 _cancel_timeout();
132} 133}
133 134
134/////// tests monitoring a directory 135/////// tests monitoring a directory