You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to deal with the issue #274 and the issue from pm2 Unitech/pm2#5134, that are related with the opencensus.
I forked this repo then started to update opencensus package and fix the errors, but I'm having some problems running the tests, (maybe I'm dumb, who knows). At first the problems were just typings so it was pretty easy to fix, but now
logs as text
[debug] "2021-09-18T19:03:56.976Z" 'starting to notify listeners the end of spans'
1) should create multiple child spans for GET requests
21 passing (246ms)
1 failing
1) HttpPlugin
patchOutgoingRequest()
should create multiple child spans for GET requests:
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
5 !== 0
+ expected - actual
-5
+0
at Object.<anonymous> (src/census/plugins/__tests__/http.spec.ts:249:16)
at Generator.next (<anonymous>)
at fulfilled (node_modules/tslib/tslib.js:104:62)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @pm2/[email protected] unit: `npm run build && bash test.sh`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @pm2/[email protected] unit script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/david/.npm/_logs/2021-09-18T19_03_57_002Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @pm2/[email protected] test: `npm run unit`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @pm2/[email protected] test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/david/.npm/_logs/2021-09-18T19_03_57_021Z-debug.log
I'm not that close with this project, so I lack in knowledge about how it works, I tried to run the tests with node 12, 14 & 16.
I tried to run with the project before the changes, but still got some errors, I am tired right now, so I came to ask for help.
I was trying to deal with the issue #274 and the issue from pm2 Unitech/pm2#5134, that are related with the opencensus.
I forked this repo then started to update opencensus package and fix the errors, but I'm having some problems running the tests, (maybe I'm dumb, who knows). At first the problems were just typings so it was pretty easy to fix, but now
logs as text
I'm not that close with this project, so I lack in knowledge about how it works, I tried to run the tests with node 12, 14 & 16.
I tried to run with the project before the changes, but still got some errors, I am tired right now, so I came to ask for help.
My fork pm2-io-apm
The text was updated successfully, but these errors were encountered: