diff --git a/.travis.yml b/.travis.yml index 0b70248a0..1ed50deb1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -94,6 +94,7 @@ jobs: language: shell env: OS=mac before_install: + - brew uninstall mercurial - brew upgrade python || true - pip3 install --user --upgrade pip virtualenv - /Users/travis/Library/Python/3.7/bin/virtualenv --clear $HOME/venv diff --git a/lbry/lbry/extras/daemon/Components.py b/lbry/lbry/extras/daemon/Components.py index 9ead6bc68..5d95efdf8 100644 --- a/lbry/lbry/extras/daemon/Components.py +++ b/lbry/lbry/extras/daemon/Components.py @@ -67,7 +67,7 @@ class DatabaseComponent(Component): log.info("Loading databases") if not os.path.exists(self.revision_filename): - log.warning("db_revision file not found. Creating it") + log.info("db_revision file not found. Creating it") self._write_db_revision_file(self.get_current_db_revision()) # check the db migration and run any needed migrations diff --git a/lbry/lbry/stream/stream_manager.py b/lbry/lbry/stream/stream_manager.py index 637a57129..cbc50db0c 100644 --- a/lbry/lbry/stream/stream_manager.py +++ b/lbry/lbry/stream/stream_manager.py @@ -165,7 +165,7 @@ class StreamManager: await asyncio.gather(*add_stream_tasks, loop=self.loop) log.info("Started stream manager with %i files", len(self.streams)) if not self.node: - log.warning("no DHT node given, resuming downloads trusting that we can contact reflector") + log.info("no DHT node given, resuming downloads trusting that we can contact reflector") if to_resume_saving: self.resume_saving_task = self.loop.create_task(self.resume(to_resume_saving)) diff --git a/torba/torba/testcase.py b/torba/torba/testcase.py index f6de33cd3..3e5ee15c2 100644 --- a/torba/torba/testcase.py +++ b/torba/torba/testcase.py @@ -61,6 +61,8 @@ class AsyncioTestCase(unittest.TestCase): # Implementation inspired by discussion: # https://bugs.python.org/issue32972 + LOOP_SLOW_CALLBACK_DURATION = 0.2 + maxDiff = None async def asyncSetUp(self): # pylint: disable=C0103 @@ -100,6 +102,7 @@ class AsyncioTestCase(unittest.TestCase): self.loop = asyncio.new_event_loop() # pylint: disable=W0201 asyncio.set_event_loop(self.loop) self.loop.set_debug(True) + self.loop.slow_callback_duration = self.LOOP_SLOW_CALLBACK_DURATION try: self._outcome = outcome