Blob Blame History Raw
From d5965194faa7c8e8b9b9b9503d1584c8b1fe2ef0 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Wed, 20 Feb 2019 04:38:34 -0500
Subject: [PATCH] Skip tests that use the network.

Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
 remote_test.go | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/remote_test.go b/remote_test.go
index 8b20fd2..3162dee 100644
--- a/remote_test.go
+++ b/remote_test.go
@@ -34,6 +34,7 @@ func assertHostname(cert *Certificate, valid bool, hostname string, t *testing.T
 }
 
 func TestCertificateCheck(t *testing.T) {
+	t.Skip("No network available.")
 	t.Parallel()
 	repo := createTestRepo(t)
 	defer cleanupTestRepo(t, repo)
@@ -54,6 +55,7 @@ func TestCertificateCheck(t *testing.T) {
 }
 
 func TestRemoteConnect(t *testing.T) {
+	t.Skip("No network available.")
 	t.Parallel()
 	repo := createTestRepo(t)
 	defer cleanupTestRepo(t, repo)
@@ -66,6 +68,7 @@ func TestRemoteConnect(t *testing.T) {
 }
 
 func TestRemoteLs(t *testing.T) {
+	t.Skip("No network available.")
 	t.Parallel()
 	repo := createTestRepo(t)
 	defer cleanupTestRepo(t, repo)
@@ -85,6 +88,7 @@ func TestRemoteLs(t *testing.T) {
 }
 
 func TestRemoteLsFiltering(t *testing.T) {
+	t.Skip("No network available.")
 	t.Parallel()
 	repo := createTestRepo(t)
 	defer cleanupTestRepo(t, repo)
-- 
2.20.1