From c672930f16c906954ef34eb76dd12d218727859a Mon Sep 17 00:00:00 2001 From: Kamil Kopryk Date: Wed, 9 Feb 2022 18:26:34 +0000 Subject: [PATCH] Fix whenAppendMemoryCopyIsCalledThenMemoryIsProperlyCopied aub test Related-To: NEO-6661 Signed-off-by: Kamil Kopryk --- level_zero/core/test/aub_tests/aub_hello_world_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/level_zero/core/test/aub_tests/aub_hello_world_test.cpp b/level_zero/core/test/aub_tests/aub_hello_world_test.cpp index 0744bc951c..2dc91299c5 100644 --- a/level_zero/core/test/aub_tests/aub_hello_world_test.cpp +++ b/level_zero/core/test/aub_tests/aub_hello_world_test.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Intel Corporation + * Copyright (C) 2021-2022 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -35,7 +35,7 @@ TEST_F(AUBHelloWorldL0, whenAppendMemoryCopyIsCalledThenMemoryIsProperlyCopied) pCmdq->executeCommandLists(1, pHCmdList.get(), nullptr, false); pCmdq->synchronize(std::numeric_limits::max()); - EXPECT_TRUE(csr->expectMemory(dstMemory, srcMemory, val, AubMemDump::CmdServicesMemTraceMemoryCompare::CompareOperationValues::CompareEqual)); + EXPECT_TRUE(csr->expectMemory(dstMemory, srcMemory, size, AubMemDump::CmdServicesMemTraceMemoryCompare::CompareOperationValues::CompareEqual)); driverHandle->svmAllocsManager->freeSVMAlloc(srcMemory); driverHandle->svmAllocsManager->freeSVMAlloc(dstMemory);