test: cover large NAS import timeout
This commit is contained in:
parent
648972ab56
commit
f1b83fcdc2
1 changed files with 10 additions and 0 deletions
|
|
@ -26,6 +26,16 @@ class FlowImportFailureRoutingTests(unittest.TestCase):
|
|||
with self.subTest(node=node["Uid"]):
|
||||
self.assertEqual(node["ErrorConnection"]["InputNode"], fail_node["Uid"])
|
||||
|
||||
def test_fhd_radarr_import_timeout_handles_large_nas_copy(self):
|
||||
flow = json.loads(FLOW.read_text())
|
||||
fhd_radarr = next(
|
||||
part
|
||||
for part in flow["Parts"]
|
||||
if part.get("Name") == "Radarr - Trigger Manual Import"
|
||||
and part.get("Model", {}).get("ImportPath") == "/tdarr/converted/video/"
|
||||
)
|
||||
self.assertGreaterEqual(fhd_radarr["Model"]["TimeOut"], 900)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue