Skip to content
Commit a597feaf authored by Robert Lubos's avatar Robert Lubos Committed by Dan Kalowsky
Browse files

test: net: lib: prometheus: formatter: Fix test flakiness



If a string is already present in the provided buffer,
prometheus_format_exposition() appends it instead of overwriting,
hence the buffer needs to be cleared on the test start, otherwise it
works by chance.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 130c5c00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment