-
Notifications
You must be signed in to change notification settings - Fork 150
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
run testrunner.pl under WSL1 #4158
Comments
Signed-off-by: qyb <[email protected]>
Is netstat/cassandane the only part of Cyrus that doesn't currently work under WSL1? I don't know much about WSL, but I'm a little surprised Cyrus works at all... we haven't spent any effort targeting it (neither 1 nor 2). Are you actually running Cyrus for real, with real mailboxes etc, under WSL1? Or just experimenting with it? |
I run our production server by Ubuntu LTS, and use WSL1 as the primary development environment. I tested the new features such as JMAP, xapian-cjkwords in WSL1 and pushed them to prod-env. In the recent 2 months JMAP app developing experience, all things run well except the annoying netstat problem. |
Signed-off-by: qyb <[email protected]> generate fakenetstat script in testrunner.pl Signed-off-by: qyb <[email protected]>
I found that in WSL1 environment it needs --with-mmap=nommap configuration because of microsoft/WSL#902 |
Because
netstat
cannot run properly in WSL1 (see: microsoft/WSL#2249), testrunner.pl wouldn't check master started and fail.I have written a simple script to fake expected netstat behavior:
Does anyone work in WSL1 environment? I thought it might be helpful.
The text was updated successfully, but these errors were encountered: