Skip to content
Snippets Groups Projects
Commit 84433ff5 authored by Libor Peltan's avatar Libor Peltan Committed by Daniel Salzman
Browse files

ossign: test: align timings to w/wo valgrind

parent d831eb0b
No related branches found
No related tags found
1 merge request!1049refresh: add support for different serial arithmetics when on-slave signing
Pipeline #51948 passed
......@@ -81,6 +81,7 @@ def test_one(master, slave, zone, master_policy, slave_policy, initial_serial,
update = master.update(zone)
update.add("new2.example.com.", 3600, "A", addr)
update.send("NOERROR")
t.sleep(1)
slave.start()
slave.zone_wait(zone)
check_new_rr(slave, new2)
......@@ -99,14 +100,14 @@ slave.dnssec(zone).enable = True
t.start()
test_one(master, slave, zone, "increment", "increment", 1000, 0, 0, 2, 2)
test_one(master, slave, zone, "unixtime", "unixtime", int(time.time()), 1, 8, 1, 2)
test_one(master, slave, zone, "increment", "unixtime", int(time.time()), 1, 8, 8, None)
test_one(master, slave, zone, "increment", "increment", 1000, 0, 0, 2, 3)
test_one(master, slave, zone, "unixtime", "unixtime", int(time.time()), 1, 8, 1, 3)
test_one(master, slave, zone, "increment", "unixtime", int(time.time()), 1, 8, 5, None)
test_one(master, slave, zone, "unixtime", "increment", int(time.time()), 0, 0, None, -1)
rnd_master = random.choice(["dateserial", "increment"])
rnd_slave = random.choice(["dateserial", "increment"])
test_one(master, slave, zone, rnd_master, rnd_slave, time.strftime("%Y%m%d01"), 0, 0, 2, 2)
test_one(master, slave, zone, rnd_master, rnd_slave, time.strftime("%Y%m%d01"), 0, 0, 2, 3)
if slave.log_search("fallback to AXFR"):
set_err("fallback to AXFR")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment