File: 000-skip-network-tests.patch

package info (click to toggle)
golang-github-canonical-go-dqlite 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 712 kB
  • sloc: sh: 380; makefile: 5
file content (23 lines) | stat: -rw-r--r-- 962 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Mathias Gibbens <gibmat@debian.org>
Description: Skip tests that try to reach out to the Internet
Forwarded: not-needed
diff --git a/internal/protocol/connector_test.go b/internal/protocol/connector_test.go
index 81ced3f..a4cfae5 100644
--- a/internal/protocol/connector_test.go
+++ b/internal/protocol/connector_test.go
@@ -155,6 +155,7 @@ func TestConnector_LimitRetries(t *testing.T) {
 
 // The network connection can't be established because of a connection timeout.
 func TestConnector_DialTimeout(t *testing.T) {
+	t.Skip("Skipping network test")
 	store := newStore(t, []string{"8.8.8.8:9000"})
 	log, check := newLogFunc(t)
 	config := protocol.Config{
@@ -189,6 +190,7 @@ func TestConnector_EmptyNodeStore(t *testing.T) {
 
 // Connection failed because the context was canceled.
 func TestConnector_ContextCanceled(t *testing.T) {
+	t.Skip("Skipping network test")
 	store := newStore(t, []string{"1.2.3.4:666"})
 
 	log, check := newLogFunc(t)