diff --git a/tests/functional2/store/test_ssh_relay.py b/tests/functional2/store/test_ssh_relay.py index 240f359f3..3c7adbb60 100644 --- a/tests/functional2/store/test_ssh_relay.py +++ b/tests/functional2/store/test_ssh_relay.py @@ -13,7 +13,7 @@ def test_ssh_relay(nix: Nix): nix.settings.add_xp_feature("nix-command") - ssh_localhost = "ssh://localhost" + ssh_localhost = "ssh://localhost?remote-store=local" store = ssh_localhost + 3 * f"?remote-store={ssh_localhost}" out = nix.nix(["store", "add-path", "--store", store, "hello"]).run().ok().stdout_plain diff --git a/tests/functional2/testlib/fixtures/nix.py b/tests/functional2/testlib/fixtures/nix.py index 1dfbbb9f5..68986b189 100644 --- a/tests/functional2/testlib/fixtures/nix.py +++ b/tests/functional2/testlib/fixtures/nix.py @@ -445,7 +445,7 @@ def pytest_generate_tests(metafunc: pytest.Metafunc): if "nix" not in metafunc.fixturenames or "daemon" in metafunc.fixturenames: return if not list(metafunc.definition.iter_markers("no_daemon")): - protocols = [None, "legacy-combined"] + protocols = [None, "legacy-combined", "legacy"] # do not enable them the protocols for now # protocols += daemon_protocols # noqa ERA001 ids = protocols