Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
caddy
Commits
59dbea76
Commit
59dbea76
authored
Dec 09, 2015
by
Abiola Ibrahim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix race condition on AppVeyor. Increase timeout a bit.
parent
41bdd775
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
middleware/markdown/watcher_test.go
middleware/markdown/watcher_test.go
+2
-2
No files found.
middleware/markdown/watcher_test.go
View file @
59dbea76
...
...
@@ -18,7 +18,7 @@ func TestWatcher(t *testing.T) {
out
+=
fmt
.
Sprint
(
i
)
})
// wait little more because of concurrency
time
.
Sleep
(
interval
*
9
)
time
.
Sleep
(
interval
*
12
)
stopChan
<-
struct
{}{}
if
!
strings
.
HasPrefix
(
out
,
expected
)
{
t
.
Fatalf
(
"Expected to have prefix %v, found %v"
,
expected
,
out
)
...
...
@@ -32,7 +32,7 @@ func TestWatcher(t *testing.T) {
out
+=
fmt
.
Sprint
(
i
)
mu
.
Unlock
()
})
time
.
Sleep
(
interval
*
1
0
)
time
.
Sleep
(
interval
*
1
5
)
mu
.
Lock
()
res
:=
out
mu
.
Unlock
()
...
...
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