test: fix DebugSession ULT

Use size of actual SIP SSA header as input to test

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
This commit is contained in:
Brandon Yates
2023-07-25 16:11:31 +00:00
committed by Compute-Runtime-Automation
parent 5c4e3912a1
commit 3637f519c3

View File

@@ -2445,7 +2445,7 @@ TEST_F(DebugApiLinuxTest, GivenBindInfoForVmHandleWhenReadingStateSaveAreaThenGp
session->clientHandle = MockDebugSessionLinux::mockClientHandle;
uint64_t vmHandle = 6;
session->clientHandleToConnection[MockDebugSessionLinux::mockClientHandle]->vmToContextStateSaveAreaBindInfo[vmHandle] = {0x1000, stateSaveAreaHeader.size()};
session->clientHandleToConnection[MockDebugSessionLinux::mockClientHandle]->vmToContextStateSaveAreaBindInfo[vmHandle] = {0x1000, sizeof(SIP::StateSaveAreaHeader)};
session->readStateSaveAreaHeader();