nixpkgs/pkgs/servers/monitoring/grafana-agent/skip_test_requiring_network.patch
2021-07-10 23:22:51 +02:00

16 lines
649 B
Diff

diff --git a/pkg/operator/selector_eventhandler_test.go b/pkg/operator/selector_eventhandler_test.go
index 7b6ec602..e79bae0e 100644
--- a/pkg/operator/selector_eventhandler_test.go
+++ b/pkg/operator/selector_eventhandler_test.go
@@ -39,6 +39,10 @@ var (
// TestEnqueueRequestForSelector creates an example Kubenretes cluster and runs
// EnqueueRequestForSelector to validate it works.
func TestEnqueueRequestForSelector(t *testing.T) {
+ // Requires network access, which is not available during
+ // the nixpkgs sandboxed build
+ t.Skip()
+
l := log.NewNopLogger()
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)