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

nics.test.js failing due to double callback #94

Open
marsell opened this issue May 22, 2021 · 1 comment
Open

nics.test.js failing due to double callback #94

marsell opened this issue May 22, 2021 · 1 comment

Comments

@marsell
Copy link
Contributor

marsell commented May 22, 2021

Uncaught AssertionError: idx should be equal to ndone

FROM
fail (assert.js:84:3)
Function.equal (assert.js:104:27)
next (/opt/smartdc/cloudapi/node_modules/vasync/lib/vasync.js:805:14)
/opt/smartdc/cloudapi/test/nics.test.js:617:21
/opt/smartdc/cloudapi/test/common.js:1113:13
/opt/smartdc/cloudapi/node_modules/sdc-clientsok 11 deleteNicTag sdccloudapitest_nics_nictag1
/lib/restifyclient.js:121:20
parseResponse (/opt/smartdc/cloudapi/node_modules/sdc-clients/node_modules/restify-clients/lib/JsonClient.js:105:9)
IncomingMessage.done (/opt/smartdc/cloudapi/node_modules/sdc-clients/node_modules/restify-clients/lib/StringClient.js:237:13)
IncomingMessage.g (events.js:292:16)
emitNone (events.js:91:20)
IncomingMessage.emit (events.js:185:7)
endReadableNT (_stream_readable.js:978:12)
_combinedTickCallback (internal/process/next_tick.js:80:11)
process._tickCallback (internal/process/next_tick.js:104:9)
./runtests: line 114: 79569 Illegal Instruction     (core dumped) PATH=${NODE_INSTALL}/bin:${PATH} ${NODE_INSTALL}/bin/node --abort_on_uncaught_exception ${t}
     79570 Done                    | tee -a ${OUTPUT_DIR}/cloudapi.tap
marsell pushed a commit to spearheadsys/sdc-cloudapi that referenced this issue May 22, 2021
marsell pushed a commit to spearheadsys/sdc-cloudapi that referenced this issue May 22, 2021
marsell pushed a commit to spearheadsys/sdc-cloudapi that referenced this issue May 23, 2021
@marsell
Copy link
Contributor Author

marsell commented May 23, 2021

Before: see above.

After:

[root@e5ad067e-ae5e-4505-933b-a31190be1489 (lab:cloudapi0) /opt/smartdc/cloudapi/test]# node nics.test.js
[...]
1..474
# tests 474
# pass  474

# ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant