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:
parent
06c1f0bba4
commit
97eaa16528
@ -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";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user