mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-11 10:17:55 +00:00
test: Tweaks to reduce variation in CI unit tests
spi test: Prime the flash cache before each test to minimise flash cache misses. VFS performance test: Increase the number of runs to minimise influence of an isolated bad run.
This commit is contained in:
committed by
Angus Gratton
parent
c8d3c6a494
commit
87077a5478
@@ -243,7 +243,7 @@ TEST_CASE("Open & write & close through VFS passes performance test", "[vfs]")
|
||||
TEST_ESP_OK( esp_vfs_register(VFS_PREF1, &desc, NULL) );
|
||||
|
||||
const int64_t begin = esp_timer_get_time();
|
||||
const int iter_count = 1000;
|
||||
const int iter_count = 5000;
|
||||
|
||||
for (int i = 0; i < iter_count; ++i) {
|
||||
const int fd = open(VFS_PREF1 FILE1, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user