]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Update unit tests
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Mon, 30 Oct 2023 16:47:43 +0000 (10:47 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Mon, 30 Oct 2023 16:47:43 +0000 (10:47 -0600)
test/rtr/db/rtr_db_mock.c
test/tal_test.c

index 825cf07384158c0f01aa3841cd51c9eaa85b4ada..b20e5a4132c704593e31920436bbf5f5d5a0d2a5 100644 (file)
@@ -80,7 +80,7 @@ __handle_router_key(unsigned char const *ski, struct asn_range const *range,
 }
 
 int
-perform_standalone_validation(struct thread_pool *pool, struct db_table *table)
+perform_standalone_validation(struct db_table *table)
 {
        struct validation_handler handler;
 
index c553a0c499bcd753473ac3568968f3ad2be0577b..60ef03217bf5af74e4ae7238f4179c93a4de44f8 100644 (file)
 
 /* Mocks */
 
-MOCK_ABORT_VOID(thread_pool_push, struct thread_pool *pool,
-    char const *task_name, thread_pool_task_cb cb, void *arg)
-MOCK_ABORT_VOID(thread_pool_wait, struct thread_pool *pool)
-
 MOCK_ABORT_INT(handle_roa_v4, uint32_t as, struct ipv4_prefix const *prefix,
     uint8_t max_length, void *arg)
 MOCK_ABORT_INT(handle_roa_v6, uint32_t as, struct ipv6_prefix const *prefix,