]> granicus.if.org Git - esp-idf/commit
nvs_flash: introduce write failures after each word written
authorIvan Grokhotkov <ivan@espressif.com>
Mon, 31 Oct 2016 11:17:25 +0000 (19:17 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Mon, 31 Oct 2016 11:17:25 +0000 (19:17 +0800)
commit413f2c00f69ff6ce9777eab366280eb82cb3ac35
treefa9a0068946c16a76f475a4e1f18a4dfd79603a2
parent269332f473b6e3b2960f53605dbac840ecedd60d
nvs_flash: introduce write failures after each word written

Previously the test bench would check failure recovery by introducing error after each write operation.
This makes checks a bit more extensive (and much longer) by failing after every word written. Surprisingly, this change didn't expose any bugs.
components/nvs_flash/test/spi_flash_emulation.h
components/nvs_flash/test/test_nvs.cpp