Skip to content

Commit

Permalink
flake
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 11, 2024
1 parent af620f6 commit 32483c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bbot/test/test_step_2/module_tests/test_module_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ async def setup_before_prep(self, module_test):
# If the database already exists, break the loop
break
except Exception as e:
if time.time() - start_time > 30: # timeout after 30 seconds
if time.time() - start_time > 60: # timeout after 60 seconds
self.log.error("PostgreSQL server did not start in time.")
raise e
await asyncio.sleep(1)

if process.returncode != 0:
self.log.error(f"Failed to start PostgreSQL server: {stderr.decode()}")
self.log.error(f"Failed to start PostgreSQL server")

async def check(self, module_test, events):
import asyncpg
Expand Down

0 comments on commit 32483c4

Please sign in to comment.