mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
fix: Reduce code duplicity by reusing closeConnection
Related-To: NEO-11188 Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8c1f0836ae
commit
c5a76cac3a
@@ -214,6 +214,7 @@ TEST_F(DebugApiLinuxTestXe, GivenDebugSessionWhenClosingConnectionThenSysCallClo
|
||||
EXPECT_EQ(1u, NEO::SysCalls::closeFuncCalled);
|
||||
EXPECT_EQ(10, NEO::SysCalls::closeFuncArgPassed);
|
||||
EXPECT_FALSE(session->internalEventThread.threadActive);
|
||||
EXPECT_FALSE(session->asyncThread.threadActive);
|
||||
|
||||
NEO::SysCalls::closeFuncCalled = 0;
|
||||
NEO::SysCalls::closeFuncArgPassed = 0;
|
||||
|
||||
Reference in New Issue
Block a user