diff --git a/tests/unit/test_routing_manager.cpp b/tests/unit/test_routing_manager.cpp index 8ba85af10..293669264 100644 --- a/tests/unit/test_routing_manager.cpp +++ b/tests/unit/test_routing_manager.cpp @@ -3543,7 +3543,7 @@ void TestBorderRoutingProcessPlatfromGeneratedNd(void) } SuccessOrQuit(otBorderRoutingSetEnabled(sInstance, false)); - VerifyOrQuit(sHeapAllocatedPtrs.GetLength() == heapAllocations); + VerifyOrQuit(sHeapAllocatedPtrs.GetLength() <= heapAllocations); Log("End of TestBorderRoutingProcessPlatfromGeneratedNd"); }