Skip to content

Commit

Permalink
[tests] give PMTUd more time to redetect MTU
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
fabbione committed Sep 13, 2019
1 parent d9d61ed commit 6ae64a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libknet/tests/api_knet_handle_pmtud_set.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 6ae64a3

Please sign in to comment.