diff --git a/test/test_junosspace_io.py b/test/test_junosspace_io.py
index b762213df45b4856d838fd4be08fc2f5505f2351..9390e85bc138db13592b32c1083916ed9f9f5c08 100644
--- a/test/test_junosspace_io.py
+++ b/test/test_junosspace_io.py
@@ -53,4 +53,4 @@ def test_router_hostname_derivation(mocked_redis):
     hostnames = list(worker._derive_router_hostnames(config))
     assert hostnames  # test data is non-empty
     for h in hostnames:
-        assert re.match(r'^mx[12].+\.geant\.net$', h)
+        assert re.match(r'^(mx[12]|qfx).+\.geant\.net$', h)