-
Notifications
You must be signed in to change notification settings - Fork 5
task: verify that accesspass.connection_count == 0 #2585
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
base: main
Are you sure you want to change the base?
Conversation
juan-malbeclabs
left a comment
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.
Please, it’s important to add a regression test that validates the behavior of your change. Thank you very much.
| "AccessPass has active connections (connection_count={}), cannot close", | ||
| accesspass.connection_count | ||
| ); | ||
| return Err(DoubleZeroError::AccessPassNotFound.into()); |
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.
@ANISH-SR To avoid confusion, could you create a new AccessPassInUse error so it’s clearer why it can’t be closed? Thanks.
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.
Done!
Signed-off-by: ANISH-SR <rawatanish08@gmail.com>
Signed-off-by: ANISH-SR <rawatanish08@gmail.com>
Signed-off-by: ANISH-SR <rawatanish08@gmail.com>
39ccfb6 to
3c50b48
Compare
juan-malbeclabs
left a comment
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.
LGTM
Summary of Changes
Testing Verification
Resolves #2220