From 2520d83e859018052065826e5da9cfbf33bd58c7 Mon Sep 17 00:00:00 2001 From: Tim Gross Date: Fri, 18 Jun 2021 11:34:31 -0400 Subject: [PATCH] tests: allocrunner CNI tests are Linux-only (#10783) Running the `client/allocrunner` tests fail to compile on macOS because the CNI test file depends on the CNI network configurator, which is in a Linux-only file. --- client/allocrunner/networking_cni_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/allocrunner/networking_cni_test.go b/client/allocrunner/networking_cni_test.go index 84a02f40486..832ca32cea2 100644 --- a/client/allocrunner/networking_cni_test.go +++ b/client/allocrunner/networking_cni_test.go @@ -1,3 +1,5 @@ +// +build linux + package allocrunner import (