Commit 54a7d647 authored by iv's avatar iv Committed by Administrator

golang: skip TestDialTimeout which fails for recent kernel

parent a0d8b829
From 68f20deb1047b2408201cf0e59e70b0bd8e7f5a7 Mon Sep 17 00:00:00 2001
From: Gitlab Admin <gitlab-admins@nexedi.com>
Date: Thu, 26 Jan 2017 22:25:50 +0100
Subject: [PATCH] skip TestDialTimeout failing with recent kernel
diff --git a/src/net/dial_test.go b/src/net/dial_test.go
index 42898d6..f3d0d22 100644
--- a/src/net/dial_test.go
+++ b/src/net/dial_test.go
@@ -32,6 +32,7 @@ func newLocalListener(t *testing.T) Listener {
}
func TestDialTimeout(t *testing.T) {
+ t.Skip("skipping test for Go 1.4; needed for kernel 4.8.15")
origBacklog := listenerBacklog
defer func() {
listenerBacklog = origBacklog
--
2.2.1
...@@ -22,6 +22,9 @@ environment = ...@@ -22,6 +22,9 @@ environment =
url = https://storage.googleapis.com/golang/go1.4.3.src.tar.gz url = https://storage.googleapis.com/golang/go1.4.3.src.tar.gz
md5sum = dfb604511115dd402a77a553a5923a04 md5sum = dfb604511115dd402a77a553a5923a04
environment-extra = environment-extra =
patch-options = -p1
patches =
${:_profile_base_location_}/0001-skip-TestDialTimeout-failing-with-recent-kernel.patch#64c8f54f02e32c6e3da322d5553c930c
[golang15] [golang15]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment