Skip to content
Commit 4512cbf5 authored by Robert Lubos's avatar Robert Lubos Committed by Benjamin Cabé
Browse files

tests: net: sockets: tls_configurations: Use fixture for openssl



Currently, creating and killing openssl process was part of the test. In
result, if the test case failed for whatever reason, the openssl process
would remain open, causing disruptions in consecutive test executions.

Fix that by defining openssl server instance as a pytest fixture. That
way, openssl process will be terminated regardless of the test
result.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 7619592b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment