test: remove watchdog test (#1458)

This commit is contained in:
Sebastien Bourdeauducq 2020-07-07 17:27:43 +08:00
parent f265976df6
commit 13501115f6
1 changed files with 0 additions and 16 deletions

View File

@ -170,17 +170,6 @@ class PulseRateAD9914DDS(EnvExperiment):
return 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): class LoopbackCount(EnvExperiment):
def build(self, npulses): def build(self, npulses):
self.setattr_device("core") self.setattr_device("core")
@ -522,11 +511,6 @@ class CoredeviceTest(ExperimentCase):
def test_address_collision(self): def test_address_collision(self):
self.execute_and_test_in_log(AddressCollision, "RTIO collision") 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): def test_time_keeps_running(self):
self.execute(TimeKeepsRunning) self.execute(TimeKeepsRunning)
t1 = self.dataset_mgr.get("time_at_start") t1 = self.dataset_mgr.get("time_at_start")