Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
gh-91214: Skip tests failing on Solaris#31978
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
@@ -3394,7 +3395,7 @@ def testCMSG_SPACE(self): | |||
# Test CMSG_SPACE() with various valid and invalid values, | |||
# checking the assumptions used by sendmsg(). | |||
toobig = self.socklen_t_limit - socket.CMSG_SPACE(1) + 1 | |||
values = list(range(257)) + list(range(toobig - 257, toobig)) | |||
values = list(range(257)) + list(range(toobig - 257, toobig - 8)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This is a 'fix' we are using internally, probably not acceptable (more in the issue tracker).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
What are the values ofsocklen_t_limit
andsocket.CMSG_SPACE(1)
on Solaris?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Well, I think that the simplest way to resolve this is to add Solaris-specific fix:
values=list(range(257))+list(range(toobig-257,toobig-8)) | |
ifSOLARIS: | |
toobig-=8 | |
values=list(range(257))+list(range(toobig-257,toobig)) |
148436c
toc42f93b
Comparec42f93b
to15d08ee
Compare
Uh oh!
There was an error while loading.Please reload this page.
This PR should take Solaris worker closer to being green.
https://bugs.python.org/issue47058