Skip to content

Commit

Permalink
Massive increase on timeout as couldn't handle complex PCBs
Browse files Browse the repository at this point in the history
  • Loading branch information
M0WUT committed Nov 11, 2023
1 parent 0a137fe commit 0863642
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 46 deletions.
12 changes: 0 additions & 12 deletions .github/FUNDING.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/test-pcbdraw.yml

This file was deleted.

4 changes: 2 additions & 2 deletions pcbdraw/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@ def start3DViewer(self) -> Generator[ViewerSession, None, None]:
mainWindow = self.waitForWindow("pcb editor")
try:
self._xdotool(["key", "--window", mainWindow, "alt+3"])
id = self.waitForWindow("3d viewer", 15)
id = self.waitForWindow("3d viewer", 300)
except TimeoutError:
# No window shown, try it once more:
self._xdotool(["key", "--window", mainWindow, "alt+3"])
id = self.waitForWindow("3d viewer", 15)
id = self.waitForWindow("3d viewer", 300)
try:
session = ViewerSession(self, id)
session.waitForResponsiveness()
Expand Down

0 comments on commit 0863642

Please sign in to comment.