Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
b29367a9
Commit
b29367a9
authored
Oct 19, 2014
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
in travis, leak tests dont work well
parent
565f9b88
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
net/conn/conn_test.go
net/conn/conn_test.go
+5
-0
net/conn/secure_conn_test.go
net/conn/secure_conn_test.go
+4
-0
No files found.
net/conn/conn_test.go
View file @
b29367a9
...
...
@@ -3,6 +3,7 @@ package conn
import
(
"bytes"
"fmt"
"os"
"runtime"
"strconv"
"sync"
...
...
@@ -82,6 +83,10 @@ func TestCancel(t *testing.T) {
func
TestCloseLeak
(
t
*
testing
.
T
)
{
// t.Skip("Skipping in favor of another test")
if
os
.
Getenv
(
"TRAVIS"
)
==
"true"
{
t
.
Skip
(
"this doesn't work well on travis"
)
}
var
wg
sync
.
WaitGroup
runPair
:=
func
(
p1
,
p2
,
num
int
)
{
...
...
net/conn/secure_conn_test.go
View file @
b29367a9
...
...
@@ -3,6 +3,7 @@ package conn
import
(
"bytes"
"fmt"
"os"
"runtime"
"strconv"
"sync"
...
...
@@ -103,6 +104,9 @@ func TestSecureCancel(t *testing.T) {
func
TestSecureCloseLeak
(
t
*
testing
.
T
)
{
// t.Skip("Skipping in favor of another test")
if
os
.
Getenv
(
"TRAVIS"
)
==
"true"
{
t
.
Skip
(
"this doesn't work well on travis"
)
}
var
wg
sync
.
WaitGroup
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment