Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit test cases are failing #311

Open
swaruparameshpajju opened this issue Jun 21, 2024 · 1 comment
Open

Unit test cases are failing #311

swaruparameshpajju opened this issue Jun 21, 2024 · 1 comment
Labels
support Questions, discussions, and general support

Comments

@swaruparameshpajju
Copy link

swaruparameshpajju commented Jun 21, 2024

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/wreck@18.0.1 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 swaruparameshpajju added the support Questions, discussions, and general support label Jun 21, 2024
@Marsup
Copy link
Contributor

Marsup commented Jun 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Questions, discussions, and general support
Projects
None yet
Development

No branches or pull requests

2 participants