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
Fix evaluation of two tests #44870
Fix evaluation of two tests #44870
Conversation
cc @Ma27 |
nixos/tests/yabar.nix
Outdated
@@ -1,4 +1,4 @@ | |||
import ./make-test.nix ({ pkgs, lib }: | |||
import ./make-test.nix ({ pkgs, lib, system }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you add system ? builtins.currentSystem
here? Many tests do this, it makes them easier to run standalone (without release.nix
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
system is not even used in the test so I replaced it with ...
it still does not build
@GrahamcOfBorg test yabar |
Failure on x86_64-linux (full log) Attempted: tests.yabar Partial log (click to expand)
|
Apparently waitForUnit inferferes with systemd's restarting the service. When lucky, the unit is restarted exactly when the perl script checks that the unit is alive: here is a successful run of the test:
Anyway, my goal is just that they evaluate. |
Success on aarch64-linux (full log) Attempted: tests.yabar Partial log (click to expand)
|
Fair enough, so let's merge this now and fix test failures separately. |
Thanks for fixing this! I'm sorry for the extra work, I just tested it with |
@Ma27 could you have a look at the non-deterministic failure of the |
Motivation for this change
Fix evaluation of two tests.
yabar builds fine now, but not hocker fetchdocker.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)