]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_interrupts.c
app/test: shorten execution time
[dpdk.git] / app / test / test_interrupts.c
index 6e3dec31a0de7be9b808fc69716e87b2f56c1054..df6d26180c83dd5d5e67c60c36f2336066f407e0 100644 (file)
@@ -41,7 +41,7 @@
 
 #include "test.h"
 
-#define TEST_INTERRUPT_CHECK_INTERVAL 1000 /* ms */
+#define TEST_INTERRUPT_CHECK_INTERVAL 100 /* ms */
 
 /* predefined interrupt handle types */
 enum test_interrupt_handle_type {
@@ -372,7 +372,7 @@ test_interrupt_full_path_check(enum test_interrupt_handle_type intr_type)
        if (test_interrupt_trigger_interrupt() < 0)
                return -1;
 
-       /* check flag in 3 seconds */
+       /* check flag */
        for (count = 0; flag == 0 && count < 3; count++)
                rte_delay_ms(TEST_INTERRUPT_CHECK_INTERVAL);