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

Fix/issue#1502 #1782

Merged
merged 21 commits into from
Apr 30, 2024
Merged

Fix/issue#1502 #1782

merged 21 commits into from
Apr 30, 2024

Conversation

zg009
Copy link
Contributor

@zg009 zg009 commented Apr 21, 2024

Fixes all the errors in #1502.

-ldp-test.js
-account-manager-test.js
-account-template-test.js
-acl-*-test.js

Unfortunately, Node 15 is no longer supported. However, I tested with node v16.14.2 on WSL running npm v 9.5.2. It looks like all tests which failed can now pass successfully. This does not cover the ENTIRE test suite, just those tagged with "1502".

@zg009 zg009 requested a review from bourgeoa April 21, 2024 05:07
@zg009
Copy link
Contributor Author

zg009 commented Apr 21, 2024

Actually there are 4 tests in ldp put that need some information: Are they relic tests which passed years ago and no longer should do to specification changes?

@bourgeoa
Copy link
Member

Nice work.

I unskipped the 4 remaining skipped test in ldp-test.js and all passed on node 16/18
wsl 1 and wsl 2
wsl 2 has an other issue with

       POST (multipart)
         should create as many files as the ones passed in multipart:
     Error: Either the size (remote/local) don't match or files are not stored

Unskipping the issues should resolve all 1502 issue

@zg009
Copy link
Contributor Author

zg009 commented Apr 21, 2024 via email

@bourgeoa
Copy link
Member

@zg009 You are right these tests do not test anything.
It may have been a test concept or they may have been replaced when moving the quota to /utils
It is before I begun any work on NSS

We may remove them and replace with some integration tests.
I don't know/remember if quota is working in practice.

@zg009
Copy link
Contributor Author

zg009 commented Apr 22, 2024 via email

@bourgeoa bourgeoa merged commit bb1e52b into main Apr 30, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants