]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Increase tests timeout
authorJakub Ružička <jakub.ruzicka@nic.cz>
Thu, 13 Apr 2023 18:06:55 +0000 (20:06 +0200)
committerJakub Ružička <jakub.ruzicka@nic.cz>
Tue, 30 May 2023 11:31:35 +0000 (13:31 +0200)
Tests may take longer than 5 s to complete on slow/virtual machines.

test/birdtest.h

index ad5f8f9cf0855f93877ebf6b4fec5d4e2d4c1e8f..cfeebb98700373ffb47901eb13d5ce75056b6767 100644 (file)
@@ -40,7 +40,7 @@ static inline u64 bt_random(void)
 void bt_log_suite_result(int result, const char *fmt, ...);
 void bt_log_suite_case_result(int result, const char *fmt, ...);
 
-#define BT_TIMEOUT                           /* Default timeout in seconds */
+#define BT_TIMEOUT                     60      /* Default timeout in seconds */
 #define BT_FORKING                     1       /* Forking is enabled in default */
 
 #define BT_RANDOM_SEED                         0x5097d2bb