ci: cdrouter: flush DNS cache before cdrouter tests start

Instead of reducing unbound negative cache ttl try to flush it just before the tests start.

Signed-off-by: Yüce Kürüm <yuce.kurum@mind.be>
Signed-off-by: Yüce Kürüm <yuce.kurum_ext@softathome.com>
This commit is contained in:
Yüce Kürüm 2024-05-27 18:06:57 +02:00 committed by Petr Štetiar
parent 06c1f0bba4
commit 97eaa16528
No known key found for this signature in database
GPG Key ID: 58EE120F30CC02D3

View File

@ -73,6 +73,8 @@
- ssh root@$TARGET_LAN_IP "cat /var/log/messages" > syslog-$LABGRID_TARGET.txt 2> /dev/null || true
- ssh root@$TARGET_LAN_IP "ubus call system board" | tee system-$LABGRID_TARGET.json
- ssh root@$TARGET_LAN_IP "ba-cli 'DNS.Relay.X_PRPL-COM_Config.[Alias==\"lan\"].FlushCache()'"
- >
for dut_init_script in $DUT_INIT_SCRIPTS;
do echo "Running $dut_init_script"; /bin/sh "$dut_init_script";