Package: docker-registry / 2.4.1~ds1-2

0003-Remove-tests-that-perform-network-access.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>
Date: Wed, 13 Jul 2016 00:58:37 +0200
Subject: Remove tests that perform network access

As per #830209
---
 notifications/http_test.go | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/notifications/http_test.go b/notifications/http_test.go
index 854dd40..fb828aa 100644
--- a/notifications/http_test.go
+++ b/notifications/http_test.go
@@ -92,11 +92,6 @@ func TestHTTPSink(t *testing.T) {
 			statusCode: http.StatusBadRequest,
 			failure:    true,
 		},
-		{
-			// Case where connection never goes through.
-			url:     "http://shoudlntresolve/",
-			failure: true,
-		},
 	} {
 
 		if tc.failure {