Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
94b6fca4
Commit
94b6fca4
authored
Jul 28, 2015
by
Pieter Hintjens
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1495 from brian-peloton/fix-test-flakiness
Increase sleep in test to fix flakiness under CPU load.
parents
5dee4605
f86bded7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test_thread_safe.cpp
tests/test_thread_safe.cpp
+2
-2
No files found.
tests/test_thread_safe.cpp
View file @
94b6fca4
...
@@ -110,7 +110,7 @@ void worker1(void* s)
...
@@ -110,7 +110,7 @@ void worker1(void* s)
if
(
c
==
0
)
if
(
c
==
0
)
{
{
msleep
(
10
);
msleep
(
10
0
);
rc
=
zmq_send_const
(
s
,
&
worker_id
,
1
,
0
);
rc
=
zmq_send_const
(
s
,
&
worker_id
,
1
,
0
);
assert
(
rc
==
1
);
assert
(
rc
==
1
);
}
}
...
@@ -136,7 +136,7 @@ void worker2(void* s)
...
@@ -136,7 +136,7 @@ void worker2(void* s)
if
(
c
==
0
)
if
(
c
==
0
)
{
{
msleep
(
10
);
msleep
(
10
0
);
rc
=
zmq_send_const
(
s
,
&
worker_id
,
1
,
0
);
rc
=
zmq_send_const
(
s
,
&
worker_id
,
1
,
0
);
assert
(
rc
==
1
);
assert
(
rc
==
1
);
}
}
...
...
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