From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id EE956941DDA for ; Tue, 22 Oct 2024 21:55:06 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=QcTCjHkLXh9HXQEYaHaJbI23FWpbZkzrHxeoKDXhImw=; c=relaxed/simple; d=groups.io; h=From:To:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240830; t=1729634106; v=1; x=1729893305; b=rRYGHOEPw0tBiJADc0P0SlBwBElungVKMyC41xk1mfyIPuI5fNuDGa8rHBCFoWTJu9MdyWqT YGK1p+Mbi+Sd4iWgDDLkxxrbOnYt/mC9hj5//R9FpzmA4Lc+oqGdsmBZ/KjN0yxhOupjeUF5BK7 Ab8ZSJEln72MWxKWFiUa1NHR1tnOnbfypEBNYlBQnJRLNx1OUku8YxRowgKbTcd1i3aDs7E5TkJ BGr1/WjTKPdZN2I6pSr9xdHX0RdeNQkedY7681x0jIOvwYJ5Bt3xNTzgXEeMJT7PF01edwvUcNF oW7XOe+ClDKgHTYpCAvwfZhD0qbqiehco8nXjanZHQqZA== X-Received: by 127.0.0.2 with SMTP id RzY6YY7687511xYgD9mtfwuP; Tue, 22 Oct 2024 14:55:05 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.6097.1729634104351889672 for ; Tue, 22 Oct 2024 14:55:04 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7CC0B497 for ; Tue, 22 Oct 2024 14:55:33 -0700 (PDT) X-Received: from a076520.blr.arm.com (a076520.arm.com [10.162.2.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 095023F528 for ; Tue, 22 Oct 2024 14:55:02 -0700 (PDT) From: "G Edhaya Chandran" To: devel@edk2.groups.io Subject: [edk2-devel] [PATCH v2 1/1] edk2-test: uefi-sct Increase the waiting time in the SCT GetStatus_Func test Date: Wed, 23 Oct 2024 03:24:59 +0530 Message-Id: <20241022215459.3524736-1-edhaya.chandran@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 22 Oct 2024 14:55:04 -0700 Resent-From: edhaya.chandran@arm.com Reply-To: devel@edk2.groups.io,edhaya.chandran@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: ltZQe6uKLUn6Eur0hDBDRhQSx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=rRYGHOEP; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io The current time delay in the SCT GetStatus_Func test is 5 milliseconds, wh= ich caused false positives with some platforms This time delay is increased to 500 miliseconds with reference to similar values in https://github.com/tianocore/edk2/blob/master/NetworkPkg/= Include/Library/NetLib.h#L265 Signed-off-by: G Edhaya Chandran Co-authored-by: Sunny Wang --- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleNetwork/BlackBoxTest/Simp= leNetworkBBTestFunction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleNetwork/Black= BoxTest/SimpleNetworkBBTestFunction.c b/uefi-sct/SctPkg/TestCase/UEFI/EFI/P= rotocol/SimpleNetwork/BlackBoxTest/SimpleNetworkBBTestFunction.c index 31c3590cd620..c077bfb29e52 100644 --- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleNetwork/BlackBoxTest= /SimpleNetworkBBTestFunction.c +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleNetwork/BlackBoxTest= /SimpleNetworkBBTestFunction.c @@ -1870,7 +1870,7 @@ BBTestGetStatusFunctionTest ( StatCode =3D gtBS->SetTimer ( TimeoutEvent, TimerRelative, - 50000); /* 5 milliseconds */ + 5000000); /* 500 milliseconds. This value is incre= ased from old value 5 milliseconds to due false positives on some platforms= */ if (EFI_ERROR(StatCode)) { StandardLib->RecordAssertion ( StandardLib, @@ -2196,7 +2196,7 @@ BBTestTransmitFunctionTest ( StatCode =3D gtBS->SetTimer ( TimeoutEvent, TimerRelative, - 50000); /* 5 milliseconds */ + 5000000); /* 500 milliseconds. This value is increased from old v= alue 5 milliseconds to due false positives on some platforms */ if (EFI_ERROR(StatCode)) { StandardLib->RecordAssertion ( StandardLib, --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120655): https://edk2.groups.io/g/devel/message/120655 Mute This Topic: https://groups.io/mt/109160778/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-