-
Notifications
You must be signed in to change notification settings - Fork 303
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
header.test.js : WAC-Allow third test is broken #1285
Comments
Hi @bourgeoa, thanks for reporting! Just a heads-up, if all goes well, it will now be a matter of just weeks until this code is deprecated in favour of the TypeScript rewrite that is taking place in https://github.com/inrupt/pod-server. It does remind me though, I should really resolve inrupt/wac-ldp#47 before we switch inrupt.net and solid.community over to the new TypeScript code! :) Let's talk about the switchover process, are you running node-solid-server on your own server, on localhost, or testing against one of those two main deployments? |
I am running tests on node-solid-server multiuser on my own server deployment is made with docker. As I explained in PR # 1282 I run thests on v4 and v5 versions including v5.1.6. By the way I don't understand why PR # 1282 receives no comment as last solid.community version is broken for weeks for a good part of users and dev community. Can you check the PR ? |
@bourgeoa let's have a video chat to discuss how we can proceed! |
I'm going to assume that because all tests are working now and #1282 is merged in, this issue is fixed. |
Please describe what you did in reproducible steps
npm run test
: on NSSv5.1.1 to NSSv5.1.6I came to that with PR #1282
How did it work with 4.x series servers?
all test passed on NSSv4.4.2
What happened when you tried the same with the 5.x series server?
Any material that will help, logs, error messages, etc.
Here is the faulty test
describeHeaderTest('read/write/append/control for the user, nothing for the public', { resource: '/user-rwac-public-0', headers: { 'WAC-Allow': 'user="read write append control",public=""', 'Access-Control-Expose-Headers': /(^|,\s*)WAC-Allow(,|$)/ } })
I broke the test in two :
here the test fail saying that a WAC-Allow need to be defined for
public
here the timeout came back.
As it is the test is not pertinent in NSSv5 and should be revisited.
The text was updated successfully, but these errors were encountered: