2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 19:28:26 +08:00

test: remove watchdog test (#1458)

This commit is contained in:
Sebastien Bourdeauducq 2020-07-07 17:27:43 +08:00
parent f265976df6
commit 13501115f6

View File

@ -170,17 +170,6 @@ class PulseRateAD9914DDS(EnvExperiment):
return
class Watchdog(EnvExperiment):
def build(self):
self.setattr_device("core")
@kernel
def run(self):
with watchdog(50*ms):
while True:
pass
class LoopbackCount(EnvExperiment):
def build(self, npulses):
self.setattr_device("core")
@ -522,11 +511,6 @@ class CoredeviceTest(ExperimentCase):
def test_address_collision(self):
self.execute_and_test_in_log(AddressCollision, "RTIO collision")
def test_watchdog(self):
# watchdog only works on the device
with self.assertRaises(exceptions.WatchdogExpired):
self.execute(Watchdog)
def test_time_keeps_running(self):
self.execute(TimeKeepsRunning)
t1 = self.dataset_mgr.get("time_at_start")