versatica / mediasoup-client-aiortc

mediasoup-client handler for aiortc Python library

Home Page:https://mediasoup.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CI tests fail in GitHub macOS machines

ibc opened this issue · comments

https://github.com/versatica/mediasoup-client-aiortc/actions/runs/6198433170/job/16828854258

All tests fail, so this is not about getUserMedia() calls. In fact, the very first test fails with timeout:

test('create a Worker succeeds', async () =>
{
	worker = await createWorker({ logLevel: 'debug' });

	expect(typeof worker.pid).toBe('number');
	expect(worker.closed).toBe(false);
}, 5000);
  ● create a Worker succeeds

    thrown: "Exceeded timeout of 5000 ms for a test.
    Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

      17 | let dataConsumer: mediasoupClientTypes.DataConsumer;
      18 |
    > 19 | test('create a Worker succeeds', async () =>
         | ^
      20 | {
      21 | 	worker = await createWorker({ logLevel: 'debug' });
      22 |

      at Object.<anonymous> (src/tests/test.ts:19:1)

Fixed by increasing test timeouts to 20s: 7c0930e