]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd-network/test-dhcp-client.c
test: extend timeout for DHCP/NDisc tests
[thirdparty/systemd.git] / src / libsystemd-network / test-dhcp-client.c
index 2c489605a8d9c509c294e63160454e994f61cb6b..5b4ce3e0bf0c2b73fd1002ad8abcb331c344f1ee 100644 (file)
@@ -514,7 +514,7 @@ static void test_addr_acq(sd_event *e) {
         callback_recv = test_addr_acq_recv_discover;
 
         assert_se(sd_event_add_time_relative(e, NULL, CLOCK_BOOTTIME,
-                                             2 * USEC_PER_SEC, 0,
+                                             30 * USEC_PER_SEC, 0,
                                              NULL, INT_TO_PTR(-ETIMEDOUT)) >= 0);
 
         res = sd_dhcp_client_start(client);