]> git.proxmox.com Git - mirror_kronosnet.git/commitdiff
[tests] give PMTUd more time to redetect MTU
authorFabio M. Di Nitto <fdinitto@redhat.com>
Fri, 13 Sep 2019 05:30:06 +0000 (07:30 +0200)
committerFabio M. Di Nitto <fdinitto@redhat.com>
Fri, 13 Sep 2019 05:30:06 +0000 (07:30 +0200)
Ideal fix would be to use PMTUd callback, but that requires a lot of
extra test infrastructure. For now just workaround the problem.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
libknet/tests/api_knet_handle_pmtud_set.c

index 7a7ffb34c26a680632fc81b98404397eb603cfbd..4404368849afa24571804e937dd441b6d5c974e0 100644 (file)
@@ -196,7 +196,7 @@ static void test(void)
        /*
         * wait for PMTUd to pick up the change
         */
-       sleep(1);
+       sleep(2);
        flush_logs(logfds[0], stdout);
 
        if (knet_h->data_mtu != data_mtu) {