Skip to content

Commit

Permalink
increase timeout limits
Browse files Browse the repository at this point in the history
  • Loading branch information
Ableytner committed Mar 13, 2024
1 parent af7ce96 commit 3a8657b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mcserverwrapper/test/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def run_vanilla_test(jarfile, offline_mode=False, version_name=None):

line = ""
while "Hello World" not in line:
line = wrapper.output_queue.get(timeout=5)
line = wrapper.output_queue.get(timeout=10)

# MineFlayer doesn't (yet) support 1.7.10
# https://github.com/PrismarineJS/mineflayer/issues/432
Expand Down Expand Up @@ -158,7 +158,7 @@ def func(bot, bot_connected):
start_time = datetime.now()

while not bot_connected[0]:
if (datetime.now() - start_time) > timedelta(seconds=10):
if (datetime.now() - start_time) > timedelta(seconds=30):
return None
sleep(0.1)

Expand Down

0 comments on commit 3a8657b

Please sign in to comment.