Skip to content

Commit

Permalink
Merge pull request #50 from P403n1x87/tests/stability
Browse files Browse the repository at this point in the history
tests: improve stability
  • Loading branch information
P403n1x87 authored Oct 17, 2023
2 parents 8a05cb7 + d70d7fa commit 0ae187a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/target_attach.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ def sleep(t):


def foo():
sleep(0.1)
sleep(0.4)


def bar():
sleep(0.2)
sleep(0.8)
foo()


Expand Down
2 changes: 1 addition & 1 deletion tests/target_gather.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async def f4():


async def f5():
await asyncio.sleep(0.5)
await asyncio.sleep(1)


async def main():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_where.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test_where():
with Popen(
[sys.executable, "-m", "tests.target_attach"], stdout=PIPE, stderr=PIPE
) as target:
sleep(0.5)
sleep(1)
try:
# attach multiple times
for _ in range(10):
Expand Down

0 comments on commit 0ae187a

Please sign in to comment.