NS_Tests: reset the weights of all udp binds

Some test cases change the weight of the binds. Ensure all test cases
starts with the same configuration.

Related: OS#5036
Change-Id: Iae2ba130b2f7d29ec8b417f07d0bef87f74ce5a4
This commit is contained in:
Alexander Couzens 2021-06-06 23:14:58 +02:00
parent 2d10ee65e4
commit 7a62502721
1 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,8 @@ private function f_init_vty() runs on RAW_Test_CT {
f_vty_transceive(NSVTY, "enable");
f_vty_transceive(NSVTY, "nsvc nsei " & int2str(mp_nsconfig.nsei) & " force-unconfigured");
f_vty_config2(NSVTY, {"ns", "nse " & int2str(mp_nsconfig.nsei)}, "no ip-sns-bind local2");
f_vty_config2(NSVTY, {"ns", "bind udp local"}, "ip-sns signalling-weight 1 data-weight 1");
f_vty_config2(NSVTY, {"ns", "bind udp local2"}, "ip-sns signalling-weight 1 data-weight 1");
}
/* ensure no matching message is received within 'tout' */