Compare commits

...

2 Commits

Author SHA1 Message Date
David Abdurachmanov ec04250fbc
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>
2022-10-25 14:51:27 +03:00
David Abdurachmanov 3c1cb20b06
Increase timeout by x10
There are tests timing out on riscv64.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-10-25 14:23:04 +03:00
1 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,7 @@
Name: llhttp
Version: 6.0.10
%global so_version 6.0
Release: %autorelease
Release: %autorelease -e 0.riscv64
Summary: Port of http_parser to llparse
# License of llhttp is (SPDX) MIT; nothing from the NodeJS dependency bundle is
@ -150,11 +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 \
test/*-test.ts
%endif
%files
%license release/LICENSE-MIT