From 22540390e1f8711143a5dfd4ab4afb81287e4a31 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Tue, 9 Jun 2020 16:04:39 -0400 Subject: [PATCH] break the wallet server with chris45 test --- tests/integration/other/test_chris45.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/integration/other/test_chris45.py b/tests/integration/other/test_chris45.py index e837a4ec5..51c3cd3e8 100644 --- a/tests/integration/other/test_chris45.py +++ b/tests/integration/other/test_chris45.py @@ -4,6 +4,7 @@ from lbry.testcase import CommandTestCase class EpicAdventuresOfChris45(CommandTestCase): async def test_no_this_is_not_a_test_its_an_adventure(self): + # Chris45 is an avid user of LBRY and this is his story. It's fact and fiction # and everything in between; it's also the setting of some record setting # integration tests. @@ -194,3 +195,9 @@ class EpicAdventuresOfChris45(CommandTestCase): }}, await self.resolve(uri) ) + + # He closes and opens the wallet server databases to see how horribly they break + db = self.conductor.spv_node.server.db + db.close() + await db.open_for_serving() + # They didn't! (error would be AssertionError: 276 vs 266 (264 counts) on startup)