Skip to content

Commit 98ce576

Browse files
committed
Fix unit tests
1 parent fda028e commit 98ce576

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/unit-test/FreeRTOS_DHCP/FreeRTOS_DHCP_utest.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1327,7 +1327,7 @@ void test_vDHCPProcess_eLeasedAddress_CorrectState_ValidBytesInMessage( void )
13271327
/**
13281328
*@brief This test function ensures that when the DHCP states are mismatching after
13291329
* initial parsing of response from DHCP server, if a new response from a different DHCP
1330-
* server will cause a infinite loop inside the vDHCPProcess.
1330+
* server will not cause a infinite loop inside the vDHCPProcess.
13311331
*/
13321332
void test_vDHCPProcess_eLeasedAddress_InCorrectState_Loop( void )
13331333
{
@@ -1361,6 +1361,7 @@ void test_vDHCPProcess_eLeasedAddress_InCorrectState_Loop( void )
13611361
FreeRTOS_IsEndPointUp_IgnoreAndReturn( pdFALSE );
13621362

13631363
FreeRTOS_ReleaseUDPPayloadBuffer_Ignore();
1364+
vReleaseSinglePacketFromUDPSocket_Ignore();
13641365

13651366
vDHCPProcess( pdFALSE, pxEndPoint );
13661367

0 commit comments

Comments
 (0)