From 72bffc7b271d7734c6ede8ca12316acb0f37c9da Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Tue, 28 Feb 2023 05:22:10 +0530 Subject: [PATCH] SWDEV-366636 - Fix test timing issue (#182) Change-Id: I7de327adc59516f5d32a8861c7810f28a5c3d22b --- catch/unit/event/hipEventSynchronize.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/catch/unit/event/hipEventSynchronize.cc b/catch/unit/event/hipEventSynchronize.cc index a347badb22..dc70323b15 100644 --- a/catch/unit/event/hipEventSynchronize.cc +++ b/catch/unit/event/hipEventSynchronize.cc @@ -110,8 +110,6 @@ TEST_CASE("Unit_hipEventSynchronize_NoEventRecord_Positive") { // Record the end_event HIP_CHECK(hipEventRecord(end_event, NULL)); - // End event has not been completed - HIP_CHECK_ERROR(hipEventQuery(end_event), hipErrorNotReady); // When hipEventSynchronized is called on event that has not been recorded, // the function returns immediately