Blame SOURCES/0007-skip-marketplace-plugin-install-test.patch

625261
From 03a5c7f452efb1dbf605bba8caf3e86e15888c25 Mon Sep 17 00:00:00 2001
625261
From: Andreas Gerstmayr <agerstmayr@redhat.com>
625261
Date: Thu, 23 Jun 2022 17:00:46 +0200
625261
Subject: [PATCH] skip marketplace plugin install test
625261
625261
This test (tries to) install a plugin from the Grafana marketplace.
625261
Network connectivity is disabled in the build environment for security
625261
reasons, therefore we need to disable this test.
625261
625261
diff --git a/pkg/tests/api/plugins/api_plugins_test.go b/pkg/tests/api/plugins/api_plugins_test.go
625261
index e86ce50830..fd60fbe67c 100644
625261
--- a/pkg/tests/api/plugins/api_plugins_test.go
625261
+++ b/pkg/tests/api/plugins/api_plugins_test.go
625261
@@ -55,6 +55,7 @@ func TestPlugins(t *testing.T) {
625261
 		})
625261
 
625261
 		t.Run("Request is not forbidden if from an admin", func(t *testing.T) {
625261
+			t.Skip("this test requires connectivity to the Grafana plugin marketplace (fetching metadata)")
625261
 			statusCode, body := makePostRequest(t, grafanaAPIURL(usernameAdmin, grafanaListedAddr, "plugins/test/install"))
625261
 
625261
 			assert.Equal(t, 404, statusCode)