updated grpc throughputs to only check a specific session and verify the data being collected and sent is for that session, fixed data from throughputs being in hex getting converted to int, updated coretk to only run throughputs when enabled, updated grpc streams to return the stream to allow it being canceled
This commit is contained in:
parent
85521e8c8f
commit
424f69bb15
6 changed files with 47 additions and 23 deletions
|
@ -1032,7 +1032,7 @@ class TestGrpc:
|
|||
|
||||
# given
|
||||
client = CoreGrpcClient()
|
||||
grpc_server.coreemu.create_session()
|
||||
session = grpc_server.coreemu.create_session()
|
||||
queue = Queue()
|
||||
|
||||
def handle_event(event_data):
|
||||
|
@ -1040,7 +1040,7 @@ class TestGrpc:
|
|||
|
||||
# then
|
||||
with client.context_connect():
|
||||
client.throughputs(handle_event)
|
||||
client.throughputs(session.id, handle_event)
|
||||
time.sleep(0.1)
|
||||
|
||||
# then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue