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

Issue with Testing v2.0.0 , Testing result add up incorrectly. #271

Open
BananaDuncan1024 opened this issue Jul 3, 2024 · 2 comments
Open

Comments

@BananaDuncan1024
Copy link

BananaDuncan1024 commented Jul 3, 2024

  • node v20.13.1
  • Mac M1 Pro Sonoma 14.5
 node bin/console_runner.js -e http://localhost:7071/api/v1/lrs -x "2.0.0"

Hello !
Based on the title mentioned, the current testing status shows that the sum of passed and failed tests does not match the total count. Additionally, an error occurs during the final execution. Could it be that my Node version is too new? Or there is any recommend Node version?

截圖 2024-07-04 清晨5 04 37

Also when i tried in Node v16.14.2 , total count become correctly.

截圖 2024-07-04 清晨5 15 21

Finally , I have some questions about the testing data. Apologies, I'm not very familiar with unit testing. Is it normal for the URL of the test data to be inaccessible?

截圖 2024-07-04 清晨5 20 16

it's there any solution can i fixed the problem of this incorrect total result at node v20?
Please help , Thank you!

@vbhayden
Copy link
Member

vbhayden commented Jul 3, 2024

Interesting, I'll check this over the weekend -- thanks for bringing it up!

@vbhayden
Copy link
Member

Morning @BananaDuncan1024,

So I ran it just now using NodeJS version 20.15.1, and (while it had louder complaints about the use if Buffer) it seemed to run against the default ADL LRS just fine. It looks like it's having some trouble finding a log file or something -- does your console give any more information about that?

For the "fileUrl` bit, that's just a URI for the test -- not intended to be accessible in this case etc. :-)

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

2 participants