Commit 9d55f8d6 authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Vincent Pelletier

test: Print traceback when backup restoration unexpectedly fails.

To ease debugging.
parent 03a760fd
...@@ -35,6 +35,7 @@ import sys ...@@ -35,6 +35,7 @@ import sys
import tempfile import tempfile
import threading import threading
import time import time
import traceback
import unittest import unittest
import urlparse import urlparse
from cryptography import x509 from cryptography import x509
...@@ -1566,6 +1567,7 @@ class CaucaseTest(unittest.TestCase): ...@@ -1566,6 +1567,7 @@ class CaucaseTest(unittest.TestCase):
user2_new_key_path, user2_new_key_path,
), ),
0, 0,
traceback.format_exc(),
) )
after_restore = list(SQLite3Storage( after_restore = list(SQLite3Storage(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment