nixos/tests/knot: add extra cpu core to master

This verifies that we allow setting affinity in multicore systems.
main
Martin Weinelt 3 years ago
parent 893f7af236
commit 146ddee13b
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
  1. 4
      nixos/tests/knot.nix

@ -45,6 +45,10 @@ in {
nodes = {
master = { lib, ... }: {
imports = [ common ];
# trigger sched_setaffinity syscall
virtualisation.cores = 2;
networking.interfaces.eth1 = {
ipv4.addresses = lib.mkForce [
{ address = "192.168.0.1"; prefixLength = 24; }

Loading…
Cancel
Save