-
Notifications
You must be signed in to change notification settings - Fork 92
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
CssHandler test case failure on Windows #223
Comments
It's possible this isn't a Windows specific error. Here's a run on GitHub with this same failure: https://github.com/nahsra/antisamy/actions/runs/3498387502/jobs/5858682120 with: but: was <1>, rather than: but: was <102>. Maybe this is a threading problem? |
@davewichers - I just ran it 5 times, back-to-back on Linux Mint and had zero failures there. Have you tried it under MacOS? Or on Windows, but under WSL? |
WSL? What is that? I have no failures on my Mac. This error is definitely not repeatable. It just shows up, sometimes ... |
WSL ==> Windows Subsystem for Linux. It allows you to run a Linux kernel (at least with WSL2) under Windows. When I have to use Windows (which is almost never now! :)) I use it in preference to 'git bash' or Cygwin or whatever. |
You never know when will that happen, it's more likely on Windows. I think we had some emails were I did my investigation and could not find any way to make the low test timeout to work properly. Anyway, the thing was I commented the test or marked it as "ignore" but someone told me it was best to leave it like that until the feature is removed. Because that feature is the one that downloads CSS on |
@spassarop - I'm seeing the following - do you have access to a windows box/VM to confirm this failure? And can you then fix it? Hopefully its just a platform specific issue with the test case and not an actual bug. I only get this 1 error on Windows and none on my Mac.
UPDATE: This isn't always repeatable. I reran the test cases and they passed. And then again, and this one failed. It fails 'almost every other time' on Windows, and I'm running: 'mvn test' repeatedly, not 'mvn clean 'test' if that matters. Hopefully you can replicate this and fix it.
The text was updated successfully, but these errors were encountered: