locka99 / opcua

A client and server implementation of the OPC UA specification written in Rust
Mozilla Public License 2.0
476 stars 129 forks source link

test: Implement an integration test for simple-server #357

Open AiyionPrime opened 1 week ago

AiyionPrime commented 1 week ago

which verifies it passes configuration parsing and binds to the configured port in time.

@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.

AiyionPrime commented 1 week ago

@einarmo I hope to extend upon this tomorrow and spawn a client simultaneously and make sure its stdout contains value changes.

AiyionPrime commented 1 week ago

Now this looks about alright :) https://github.com/locka99/opcua/actions/runs/9764628477/job/26953404110?pr=357#step:4:1415

AiyionPrime commented 6 days ago

Looks like I need to mark OpenSSL in the Windows run, but Linux appears to be fine. Any suggestions @locka99 ?