diff mbox series

[meta-parsec,master,langdale] Flush caches after OEQA tests

Message ID 20230413100635.3480007-1-Anton.Antonov@arm.com
State New
Headers show
Series [meta-parsec,master,langdale] Flush caches after OEQA tests | expand

Commit Message

Anton Antonov April 13, 2023, 10:06 a.m. UTC
Make sure that all changes a saved after running the tests.

Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
---
 meta-parsec/lib/oeqa/runtime/cases/parsec.py | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/meta-parsec/lib/oeqa/runtime/cases/parsec.py b/meta-parsec/lib/oeqa/runtime/cases/parsec.py
index 66932ed..004717d 100644
--- a/meta-parsec/lib/oeqa/runtime/cases/parsec.py
+++ b/meta-parsec/lib/oeqa/runtime/cases/parsec.py
@@ -24,6 +24,10 @@  class ParsecTest(OERuntimeTestCase):
             self.parsec_status='pgrep -l parsec'
             self.parsec_reload='/etc/init.d/parsec reload'
 
+    def tearDown(self):
+        self.target.run('sync')
+        super(ParsecTest, self).tearDown()
+
     def copy_subconfig(self, cfg, provider):
         """ Copy a provider configuration to target and append it to Parsec config """