-
Notifications
You must be signed in to change notification settings - Fork 141
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: Implement an integration test for simple-server #357
base: master
Are you sure you want to change the base?
test: Implement an integration test for simple-server #357
Conversation
@einarmo I hope to extend upon this tomorrow and spawn a client simultaneously and make sure its stdout contains value changes. |
Now this looks about alright :) |
Looks like I need to mark OpenSSL in the Windows run, but Linux appears to be fine. |
895ace1
to
28e6dac
Compare
3638b90
to
4c735d0
Compare
to spawn the sample with opcua/test-vendored-openssl if intended. Without this invocation of the sample will fail on hosts without OpenSSL installed.
that verifies it passes configuration parsing and binds to the configured port in time. The test helper which checks for open ports by trying to bind them, does not work on windows, which is why the test is linux-only for now.
4c735d0
to
e6cf7fb
Compare
The Cargo.lock appears to be unclean; I'll provide a CI step to prevent this. |
Might have been an issue during rebases; nevertheless #372 contains a check for |
This intends verify on a regular basis that the server fires up properly.
Which in turn closes #152, I think.
@lsabi I hope this test helps verifying your problem and prevent regressions,
but at the moment this appears to pass locally.
This test fires up the server, lets it bind the port, kills it and marks the test result accordingly.