depot/third_party/nixpkgs/pkgs/servers/pufferpanel/skip-network-tests.patch
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

61 lines
1.7 KiB
Diff

diff --git a/operations/javadl/javadl_test.go b/operations/javadl/javadl_test.go
index 3938a58c..a51e2f4a 100644
--- a/operations/javadl/javadl_test.go
+++ b/operations/javadl/javadl_test.go
@@ -22,6 +22,8 @@ import (
)
func Test_downloadJava(t *testing.T) {
+ t.Skip("requires network access")
+
tests := []struct {
name string
wantErr bool
diff --git a/operations/spongedl/spongedl_test.go b/operations/spongedl/spongedl_test.go
index efb1665c..1b93be8c 100644
--- a/operations/spongedl/spongedl_test.go
+++ b/operations/spongedl/spongedl_test.go
@@ -5,6 +5,8 @@ import (
)
func TestSpongeDl_Run(t *testing.T) {
+ t.Skip("requires network access")
+
type fields struct {
Recommended bool
SpongeType string
diff --git a/operations/steamgamedl/dl_test.go b/operations/steamgamedl/dl_test.go
index f4df4bf3..f7cd9681 100644
--- a/operations/steamgamedl/dl_test.go
+++ b/operations/steamgamedl/dl_test.go
@@ -19,6 +19,8 @@ import (
)
func Test_downloadSteamcmd(t *testing.T) {
+ t.Skip("requires network access")
+
tests := []struct {
name string
wantErr bool
diff --git a/services/templates_test.go b/services/templates_test.go
index 5305dbc0..127efc54 100644
--- a/services/templates_test.go
+++ b/services/templates_test.go
@@ -9,6 +9,8 @@ import (
)
func TestTemplate_GetImportableTemplates(t1 *testing.T) {
+ t1.Skip("requires network access")
+
t1.Run("GetImportableTemplates", func(t1 *testing.T) {
t := &Template{}
@@ -26,6 +28,8 @@ func TestTemplate_GetImportableTemplates(t1 *testing.T) {
}
func TestTemplate_ImportTemplates(t1 *testing.T) {
+ t1.Skip("requires network access")
+
t1.Run("GetImportableTemplates", func(t1 *testing.T) {
db := prepareDatabase(t1)
if t1.Failed() {