Skip to content

Commit

Permalink
tests: lwm2m: Fix too small test buffer
Browse files Browse the repository at this point in the history
ZTEST(lwm2m_registry, test_strings) is using opaque resource
0/0/3 to write a test string "coap://127.0.0.1" which
happens to be same length as default key size.
Need more room to add end marker and verify it.

Signed-off-by: Seppo Takalo <[email protected]>
  • Loading branch information
SeppoTakalo authored and fabiobaltieri committed Jun 26, 2023
1 parent ee67bdf commit 14573fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/net/lib/lwm2m/lwm2m_registry/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ CONFIG_NEWLIB_LIBC=y

CONFIG_LWM2M=y
CONFIG_LWM2M_COAP_MAX_MSG_SIZE=512
CONFIG_LWM2M_SECURITY_KEY_SIZE=32
CONFIG_LWM2M_IPSO_SUPPORT=y
CONFIG_LWM2M_IPSO_TEMP_SENSOR=y
CONFIG_LWM2M_IPSO_TEMP_SENSOR_VERSION_1_1=y
Expand Down

0 comments on commit 14573fc

Please sign in to comment.