summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos/tests/knot.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/knot.nix b/nixos/tests/knot.nix
index bd6c875b5d8..203fd03fac2 100644
--- a/nixos/tests/knot.nix
+++ b/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; }