Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
paho.mqtt.c
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eclipse
paho.mqtt.c
Commits
d4670463
Commit
d4670463
authored
Dec 15, 2015
by
Ian Craggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lengthen wait in test2.c test1
parent
9cde3e53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test2.c
test/test2.c
+2
-2
No files found.
test/test2.c
View file @
d4670463
...
...
@@ -401,7 +401,7 @@ thread_return_type WINAPI test1_sendAndReceive(void* n)
completed the QoS 2 handshake with the publisher. For QoS 1 and 2,
allow time for the final delivery complete callback before checking
that all expected callbacks have been made */
wait_seconds
=
2
0
;
wait_seconds
=
4
0
;
while
((
test1_deliveryCompleted
<
iterations
*
2
)
&&
(
wait_seconds
--
>
0
))
{
MyLog
(
LOGA_DEBUG
,
"Delivery Completed %d count %d"
,
test1_deliveryCompleted
,
i
);
...
...
@@ -411,7 +411,7 @@ thread_return_type WINAPI test1_sendAndReceive(void* n)
usleep
(
100000L
);
#endif
}
assert
(
"All Deliveries Complete"
,
wait_seconds
>
0
,
assert
(
"All Deliveries Complete"
,
test1_deliveryCompleted
==
iterations
*
2
,
"Number of deliveryCompleted callbacks was %d
\n
"
,
test1_deliveryCompleted
);
}
...
...
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