Skip to content
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

PROTON-2471 Run raw connection examples during proton-c examples test #345

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jiridanek
Copy link
Contributor

No description provided.

@jiridanek jiridanek self-assigned this Nov 29, 2021
@jiridanek jiridanek force-pushed the jd_PROTON-2433_interface_library_dirs branch from 506936a to cb82d5b Compare November 29, 2021 15:53
Comment on lines +125 to +128
expected_brief = b'**raw connection connected\n' + message + b'**raw connection disconnected\n'
expected_polite = b'**raw connection connected\n' + message + b'** Goodbye ****raw connection disconnected\n'

expected = expected_polite if b'Goodbye' in stdout else expected_brief
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm at a loss how to get deterministic output from the example. Sometimes it manages to receive and print that Goodbye, but oftentimes not.

@jiridanek
Copy link
Contributor Author

The CI fails on Windows and macOS are legit. Raw feature is not implemented in other than epoll proactor. Test has to be skipped.

@jiridanek
Copy link
Contributor Author

There is no good way to propagate the info about proactor availability to the testme file in examples that I can think of. My best bet so far seems to be to skip building the raw_ examples if epoll proactor is not selected, then skip the test if the examples binaries are not present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant