Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support customTestFor with multiple (different) nodes #473

Open
Sohalt opened this issue Jul 7, 2022 · 1 comment
Open

Support customTestFor with multiple (different) nodes #473

Sohalt opened this issue Jul 7, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Sohalt
Copy link
Contributor

Sohalt commented Jul 7, 2022

The tests defined in nixos.hosts.<hostname>.tests currently import the host's configuration on each machine defined in the test (using extraConfigurations).

This is unfortunate when trying to test servers for example, where it would be nice to have a second machine act as a client (without the configuration of the host under test).

It would be cool to have the possibility to specify additional nodes with an entirely custom configuration.

It would be even better, if there was a way to test multiple hosts in conjunction, e.g. if I have two machines defined in hosts/server/default.nix and hosts/client/default.nix I'd love to be able to test them together, referring to them by their hostname.

@Sohalt Sohalt added the enhancement New feature or request label Jul 7, 2022
@Sohalt
Copy link
Contributor Author

Sohalt commented Jul 20, 2022

I tried to make progress on this front to no avail. Anyone interested in pairing on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant