Disable tests on riscv64 for now

[..]
  648 passing (9m)
  4 failing
  1) Sample requests at request/sample.md:1
       Simple request at request/sample.md:6
         should pass in mode="strict" and for type="none":
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/builddir/build/BUILD/llhttp-6.0.10/test/md-test.ts)
      at Test.Runnable._timeoutError (node_modules_dev/mocha/lib/runnable.js:442:10)
      at Timeout.<anonymous> (node_modules_dev/mocha/lib/runnable.js:252:24)
      at listOnTimeout (node:internal/timers:564:17)
      at processTimers (node:internal/timers:507:7)
  2) Sample requests at request/sample.md:1
       Simple request at request/sample.md:6
         should pass in mode="strict" and for type="request":
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/builddir/build/BUILD/llhttp-6.0.10/test/md-test.ts)
      at Test.Runnable._timeoutError (node_modules_dev/mocha/lib/runnable.js:442:10)
      at Timeout.<anonymous> (node_modules_dev/mocha/lib/runnable.js:252:24)
      at listOnTimeout (node:internal/timers:564:17)
      at processTimers (node:internal/timers:507:7)
  3) Sample requests at request/sample.md:1
       Simple request at request/sample.md:6
         should pass in mode="loose" and for type="none":
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/builddir/build/BUILD/llhttp-6.0.10/test/md-test.ts)
      at Test.Runnable._timeoutError (node_modules_dev/mocha/lib/runnable.js:442:10)
      at Timeout.<anonymous> (node_modules_dev/mocha/lib/runnable.js:252:24)
      at listOnTimeout (node:internal/timers:564:17)
      at processTimers (node:internal/timers:507:7)
  4) Sample requests at request/sample.md:1
       Simple request at request/sample.md:6
         should pass in mode="loose" and for type="request":
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/builddir/build/BUILD/llhttp-6.0.10/test/md-test.ts)
      at Test.Runnable._timeoutError (node_modules_dev/mocha/lib/runnable.js:442:10)
      at Timeout.<anonymous> (node_modules_dev/mocha/lib/runnable.js:252:24)
      at listOnTimeout (node:internal/timers:564:17)
      at processTimers (node:internal/timers:507:7)
[..]

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-10-25 14:51:27 +03:00
parent 3c1cb20b06
commit ec04250fbc
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 2 additions and 2 deletions

View File

@ -150,12 +150,12 @@ popd
# code with license problems in the source RPM.
%{python3} '%{SOURCE3}' --exceptions '%{SOURCE4}' --with dev node_modules_dev
%ifnarch riscv64
# See scripts.mocha in package.json:
NODE_ENV=test CLANG=gcc ./node_modules/.bin/mocha \
-r ts-node/register/type-check \
-t 600000 \
test/*-test.ts
%endif
%files
%license release/LICENSE-MIT