Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
actor-incubator
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
actor-incubator
Commits
8c9673bd
Commit
8c9673bd
authored
Sep 10, 2019
by
Jakob Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test
parent
34e6cb83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
libcaf_net/test/datagram_transport.cpp
libcaf_net/test/datagram_transport.cpp
+0
-5
No files found.
libcaf_net/test/datagram_transport.cpp
View file @
8c9673bd
...
@@ -152,11 +152,6 @@ CAF_TEST(receive) {
...
@@ -152,11 +152,6 @@ CAF_TEST(receive) {
auto
receive_guard
=
make_socket_guard
(
receiver
);
auto
receive_guard
=
make_socket_guard
(
receiver
);
if
(
auto
err
=
nonblocking
(
receiver
,
true
))
if
(
auto
err
=
nonblocking
(
receiver
,
true
))
CAF_FAIL
(
"nonblocking() returned an error: "
<<
err
);
CAF_FAIL
(
"nonblocking() returned an error: "
<<
err
);
auto
test_read_res
=
read
(
receiver
,
make_span
(
*
buf
));
if
(
auto
p
=
get_if
<
std
::
pair
<
size_t
,
ip_endpoint
>>
(
&
test_read_res
))
CAF_CHECK_EQUAL
(
p
->
first
,
0u
);
else
CAF_FAIL
(
"read returned an error: "
<<
get
<
sec
>
(
test_read_res
));
transport_type
transport
{
receiver
,
dummy_application_factory
{
buf
}};
transport_type
transport
{
receiver
,
dummy_application_factory
{
buf
}};
transport
.
configure_read
(
net
::
receive_policy
::
exactly
(
hello_manager
.
size
()));
transport
.
configure_read
(
net
::
receive_policy
::
exactly
(
hello_manager
.
size
()));
auto
mgr
=
make_endpoint_manager
(
mpx
,
sys
,
transport
);
auto
mgr
=
make_endpoint_manager
(
mpx
,
sys
,
transport
);
...
...
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