fix(reliability): journal fail-safe serialization, per-line parse, review hardening
This commit is contained in:
@@ -11,6 +11,8 @@ class EventsTest(unittest.TestCase):
|
||||
|
||||
def tearDown(self):
|
||||
mk8_events.MK8_DIR = self.old
|
||||
mk8_events.EVENTS_PATH = os.path.join(self.old, 'events.log')
|
||||
mk8_events.MAX_BYTES = 5 * 1024 * 1024
|
||||
|
||||
def test_log_and_read_newest_first(self):
|
||||
mk8_events.log_event('boot', msg='first')
|
||||
|
||||
Reference in New Issue
Block a user