Skip to content

Commit d764c40

Browse files
committed
test(usj): Fix usj test
1 parent 90a83ba commit d764c40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/esp_driver_usb_serial_jtag/test_apps/usb_serial_jtag/main/test_usb_serial_jtag.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ TEST_CASE("see if fsync appears to work", "[usb_serial_jtag]")
113113
start_us = esp_timer_get_time();
114114
fsync(0);
115115
end_us = esp_timer_get_time();
116+
vTaskDelay(pdMS_TO_TICKS(500));
116117
printf("With data in queue: %d us\n", (int)(end_us - start_us));
117118
TEST_ASSERT_GREATER_THAN_INT(1000, end_us - start_us);
118119
TEST_ASSERT_LESS_THAN_INT(45000, end_us - start_us); //50ms means fsync hit a timeout

0 commit comments

Comments
 (0)