tests: update to fix grpc shutdown during tests, when not mocking
This commit is contained in:
parent
d43d854314
commit
371ca72900
1 changed files with 2 additions and 0 deletions
|
@ -117,6 +117,8 @@ def module_coretlv(patcher, global_coreemu, global_session):
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def grpc_server(module_grpc):
|
def grpc_server(module_grpc):
|
||||||
yield module_grpc
|
yield module_grpc
|
||||||
|
for session in module_grpc.coreemu.sessions.values():
|
||||||
|
session.set_state(EventTypes.CONFIGURATION_STATE)
|
||||||
module_grpc.coreemu.shutdown()
|
module_grpc.coreemu.shutdown()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue