rdw-archive / WebClient

[Proof of Concept] Browser-based client capable of rendering networked multiplayer games using modern web technologies
1 stars 0 forks source link

CI: Fix a rare error with electron-mocha on Linux systems #144

Closed Duckwhale closed 2 years ago

Duckwhale commented 2 years ago

Looks like sometimes the output can't be routed to the xvfb server and it just fails the CI, but only on Linux (since Windows doesn't need this workaround in the first place).

According to the wise people of StackOverflow, this should prevent that error by letting it choose a free slot automatically if the selected one is unavailable.

Will it work? I have no idea. I guess we'll see if there ever is another failed CI run with this error...


Edit: More info here https://stackoverflow.com/questions/16726227/xvfb-failed-start-error/25610678

Example of a failed CI run: https://github.com/RevivalEngine/WebClient/runs/4237359998?check_suite_focus=true

Screenshot:

image