test: wait for the interface to become routable after reconfiguring
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 3 Jul 2023 19:38:42 +0000 (21:38 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 3 Jul 2023 23:10:11 +0000 (08:10 +0900)
commitf2492d39baa71748a20e774e7c95aec04571698a
tree96ca7f661a1e50645e1d8144e2e7699436075e72
parentd979b3981166ab86995f1baa23e055f1ec3e5183
test: wait for the interface to become routable after reconfiguring

Since 6e8477edd3 TEST-75 started failing with:

[  571.468298] testsuite-75.sh[46]: + for addr in "${DNS_ADDRESSES[@]}"
[  571.468298] testsuite-75.sh[46]: + run delv @fd00:dead:beef:cafe::1 -t A mail.signed.test
[  571.468899] testsuite-75.sh[562]: + tee /tmp/tmp.qKlHPbCCJZ
[  571.469317] testsuite-75.sh[561]: + delv @fd00:dead:beef:cafe::1 -t A mail.signed.test
[  571.501381] testsuite-75.sh[562]: ;; network unreachable resolving 'mail.signed.test/A/IN': fd00:dead:beef:cafe::1#53
[  571.501564] testsuite-75.sh[562]: ;; resolution failed: SERVFAIL
[  571.515457] testsuite-75.sh[46]: + grep -qF '; fully validated' /tmp/tmp.qKlHPbCCJZ

Let's wait for the dns0 interface to become routable again after
re-enabling IPv6 to, hopefully, mitigate this.
test/units/testsuite-75.sh