Bug 508232
Summary: | SAF Test lck: saLckResourceClose/3-1.c | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Friesse <jfriesse> | ||||
Component: | openais | Assignee: | Ryan O'Hara <rohara> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | agk, fdinitto, sdake | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-06-29 19:23:14 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Jan Friesse
2009-06-26 09:42:39 UTC
This is a bug in the saftest code. The test code assumes that if select returns a value > 0, a callback has been made. That isn't true, at least for OpenAIS. I will attach a new version of the test case that doesn't depend on select to determine is a callback has been made. Created attachment 349827 [details]
Don't assume a callback has been made until it is actually called.
This code appears to fix the test case in question.
Closing this as fixed upstream. OpenAIS lock service now has code to cancel/skip callbacks for resources that have been closed with pending callbacks. Fix for saftest code it attached above. |