wreck icon indicating copy to clipboard operation
wreck copied to clipboard

Unit test cases are failing

Open swaruparameshpajju opened this issue 1 year ago • 1 comments

Runtime

browser

Runtime version

v18.0.1

Module version

v18.0.1

Used with

No response

Any other relevant information

[root@5ad1d2d876f6 wreck]# npm run test
npm WARN config `_auth`, `_authToken`, `username` and `_password` must be scoped to a registry. see `npm help npmrc` for more information.

> @hapi/[email protected] test
> lab -t 100 -L -a @hapi/code -m 10000 -Y

[..................] / : timing config:load:flatten Completed in 5ms

.............[..................] / : timing config:load:flatten Completed in 5ms
...................] / : timing config:load:flatten Completed in 5ms
[..................] / : timing config:load:flatten Completed in 5ms

Test script errors:

Incomplete assertion at /root/wreck/test/index.js:195.15

There were 1 test script error(s).

Failed tests:

  2) request() requests a resource with IPv6:

      Client request error: connect EADDRNOTAVAIL ::1:39903 - Local (:::0)

  Error: connect EADDRNOTAVAIL ::1:39903 - Local (:::0)
      at internalConnect (node:net:1041:16)
      at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)
      at node:net:1134:9
      at processTicksAndRejections (node:internal/process/task_queues:78:11)

  13) request() can set a null agent and rejectUnauthorized at the same time:

      Timed out (10000ms) - request() can set a null agent and rejectUnauthorized at the same time


  14) request() requests an https resource:

      Timed out (10000ms) - request() requests an https resource


  15) request() requests an https resource with secure protocol set:

      Timed out (10000ms) - request() requests an https resource with secure protocol set


  16) request() requests an https resource with TLS ciphers set:

      Timed out (10000ms) - request() requests an https resource with TLS ciphers set


  30) request() handles redirections with different host than baseUrl in defaults:

      Timed out (10000ms) - request() handles redirections with different host than baseUrl in defaults

How can we help?

const some = 'properly formatted code example';

swaruparameshpajju avatar Jun 21 '24 06:06 swaruparameshpajju

Same answer as https://github.com/hapijs/inert/issues/172. I don't know which system you guys are using but maybe you can help each other out.

Marsup avatar Jun 21 '24 07:06 Marsup