-
Notifications
You must be signed in to change notification settings - Fork 45
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
test(flagd): add socket path tests #1153
test(flagd): add socket path tests #1153
Conversation
aepfli
commented
Jan 11, 2025
- finding, socket path is not supported for in_process
Signed-off-by: Simon Schrottner <[email protected]>
@Suite(failIfNoTests = false) | ||
@IncludeEngines("cucumber") | ||
// Not implemented in flagd | ||
//@SelectFile("spec/specification/assets/gherkin/evaluation.feature") |
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.
again, this does not work for in_process connection
@aepfli I'm not sure if you noticed, but there's an OOM error in the CI. |
Yes, I have seen it, and I am currently also investigating. This is an odd issue. How do you simulate a reconnect with an SSL socket? I am not sure this is something testable, as a socket connection is a file connection. and imho, if that gets delete, i don't think we can recover, wdyt? |
I think we should avoid reconnection tests for the file mode. I don't think they make sense and I don't even know if it's possible. Definitionally, a unix socket should be on a shared disk; if that disk is not accessible I think it's out of our hands and probably we don't need to support reconnection. Really the socket is to enable very fast local communication by avoiding the TCP stack. |
Superseded by #1115 |