From ac1b3ecabc0386e7ca9b7925ada0087d940040d2 Mon Sep 17 00:00:00 2001 From: Anton Antonov Date: Thu, 13 Apr 2023 11:06:35 +0100 Subject: Flush caches after OEQA tests Make sure that all changes a saved after running the tests. Signed-off-by: Anton Antonov Signed-off-by: Armin Kuster --- meta-parsec/lib/oeqa/runtime/cases/parsec.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-parsec/lib/oeqa/runtime/cases/parsec.py b/meta-parsec/lib/oeqa/runtime/cases/parsec.py index 6be84ba..9df5bec 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 """ -- cgit v1.2.3-54-g00ecf