Acceptance: Reduce query interval on sciond
Currently, the next query does not consider path expiration time.
(see # 2979)
This PR reduces the query interval for sciond in the sig_short_exp_time
expiration test.
@@ -54,6 +54,7 @@ class TestSetup(Base):
self.scion.topology('topology/Tiny.topo', '--sig', '-t', '-n', '242.254.0.0/16')
self.set_bs_policies()
+ self.set_sd_policies()
self.scion.run()
if not self.no_docker:
self.tools_dc('start', 'tester*')
@@ -72,6 +73,12 @@ class TestSetup(Base):
with open(os.path.join(path.dirname, 'policy.yml'), 'w') as outfile:
yaml.dump({'MaxExpTime': 0}, outfile, default_flow_style=False)
+ def set_sd_policies(self):
+ for path in local.path('gen') // 'ISD*/AS*/endhost/sd.toml':
+ self.scion.set_configs({
+ 'sd.QueryInterval': "1m",
+ }, [path])
+
@Test.subcommand("run")
class TestRun(Base):
