forked from LBRYCommunity/lbry-sdk
reduce output on travis and dont install python2 on mac build
This commit is contained in:
parent
d2315f4fd7
commit
99ce40f736
4 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue