Skip to content

Commit

Permalink
Disable buffer use check for LWIP pool
Browse files Browse the repository at this point in the history
  • Loading branch information
arkq committed Jul 1, 2024
1 parent 57301b2 commit 571fc5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/system/tests/TestSystemPacketBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@

#include <pw_unit_test/framework.h>

#include <lib/core/StringBuilderAdapters.h>
#include <lib/support/CHIPMem.h>
#include <lib/support/CodeUtils.h>
#include <lib/core/StringBuilderAdapters.h>
#include <lib/support/SafeInt.h>
#include <lib/support/tests/ExtraPwTestMacros.h>
#include <platform/CHIPDeviceLayer.h>
Expand Down Expand Up @@ -324,6 +324,7 @@ TEST_F_FROM_FIXTURE(TestSystemPacketBuffer, CheckNew)
}
}

#if 0 // TODO: Fix this check on ESP32 (issue #34145)
#if CHIP_SYSTEM_PACKETBUFFER_FROM_LWIP_POOL || CHIP_SYSTEM_PACKETBUFFER_FROM_CHIP_POOL
// Use the rest of the buffer space
std::vector<PacketBufferHandle> allocate_all_the_things;
Expand All @@ -338,6 +339,7 @@ TEST_F_FROM_FIXTURE(TestSystemPacketBuffer, CheckNew)
allocate_all_the_things.push_back(std::move(buffer));
}
#endif // CHIP_SYSTEM_PACKETBUFFER_FROM_LWIP_POOL || CHIP_SYSTEM_PACKETBUFFER_FROM_CHIP_POOL
#endif
}

/**
Expand Down

0 comments on commit 571fc5d

Please sign in to comment.