mirror of
https://github.com/espressif/openthread.git
synced 2026-08-16 07:37:47 +00:00
[fuzz] increase wait time in CLI fuzzer (#11999)
Increases the `nexus.AdvanceTime()` in the CLI fuzzer test from 10 to 60 seconds to make the test more robust. For example, the previous 10-second wait was not sufficient for `Dns::Client` operations to complete, especially considering retries. This could cause false fuzzer memory leak reports.
This commit is contained in:
+1
-1
@@ -133,7 +133,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
||||
|
||||
otCliInputLine(reinterpret_cast<char *>(buffer));
|
||||
|
||||
nexus.AdvanceTime(10 * 1000);
|
||||
nexus.AdvanceTime(60 * 1000);
|
||||
|
||||
free(buffer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user