Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
65ea6b91
Commit
65ea6b91
authored
Jun 15, 2015
by
Fabio Yeon
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9785 from mesosphere/longer-timeout-for-proc-test
increase timeout for nested concurrent test...
parents
3dcf97a0
9f53405d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
proc_test.go
contrib/mesos/pkg/proc/proc_test.go
+4
-1
No files found.
contrib/mesos/pkg/proc/proc_test.go
View file @
65ea6b91
...
@@ -356,7 +356,10 @@ func TestProc_doWithNestedXConcurrent(t *testing.T) {
...
@@ -356,7 +356,10 @@ func TestProc_doWithNestedXConcurrent(t *testing.T) {
var
wg
sync
.
WaitGroup
var
wg
sync
.
WaitGroup
const
CONC
=
20
const
CONC
=
20
wg
.
Add
(
CONC
)
wg
.
Add
(
CONC
)
timeout
:=
3
*
time
.
Second
// this test spins up TONS of goroutines that can take a little while to execute on a busy
// CI server. drawing the line at 10s because I've never seen it take anywhere near that long.
timeout
:=
10
*
time
.
Second
for
i
:=
0
;
i
<
CONC
;
i
++
{
for
i
:=
0
;
i
<
CONC
;
i
++
{
i
:=
i
i
:=
i
...
...
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