From 333f8ea6525b1152f9c11abf38f3e7a0a6f757c0 Mon Sep 17 00:00:00 2001 From: Siddharth Ravikumar Date: Wed, 8 Apr 2015 16:26:18 -0400 Subject: added test file to purge list in tests.events_test.TestEvents.test_NDM_oncreated modified: tests/events_test.py --- tests/events_test.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/events_test.py b/tests/events_test.py index d4df13d..fa0187c 100644 --- a/tests/events_test.py +++ b/tests/events_test.py @@ -275,6 +275,8 @@ class TestEvents(object): ## check if the new file's info is in silo assert self.silo.exists(self.TEST_FILE_MUTANT) + self.purge_list.append(self.TEST_FILE_MUTANT) + # Test - directory creation self.FOO_DIR = path.join(self.FILES_DIR, 'foo') mk_nodedir(self.FOO_DIR, self.config) @@ -290,6 +292,7 @@ class TestEvents(object): self.purge_list.append(self.FOO_DIR) + # stop the zarking observers. for i in range(num_nodes): observers[i].stop() observers[i].join() -- cgit v1.2.3