Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
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
Operations
Operations
Metrics
Environments
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 Framework
Commits
63cb12d6
Commit
63cb12d6
authored
May 09, 2018
by
Joseph Noir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapt test to peer server, add related UDP test
parent
619b80ae
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
176 deletions
+47
-176
libcaf_io/test/basp.cpp
libcaf_io/test/basp.cpp
+2
-2
libcaf_io/test/basp_udp.cpp
libcaf_io/test/basp_udp.cpp
+45
-174
No files found.
libcaf_io/test/basp.cpp
View file @
63cb12d6
...
...
@@ -52,7 +52,7 @@ constexpr uint64_t no_operation_data = 0;
constexpr
auto
basp_atom
=
caf
::
atom
(
"BASP"
);
constexpr
auto
spawn_serv_atom
=
caf
::
atom
(
"SpawnServ"
);
constexpr
auto
config_serv_atom
=
caf
::
atom
(
"Config
Serv"
);
constexpr
auto
peer_serv_atom
=
caf
::
atom
(
"Peer
Serv"
);
}
// namespace <anonymous>
...
...
@@ -749,7 +749,7 @@ CAF_TEST(read_address_after_handshake) {
auto
&
addrs
=
instance
().
tbl
().
local_addresses
();
connect_node
(
mars
(),
ax
,
self
()
->
id
(),
std
::
set
<
string
>
{},
addrs
);
CAF_MESSAGE
(
"Look for mars address information in our config server"
);
auto
config_server
=
sys
.
registry
().
get
(
config
_serv_atom
);
auto
config_server
=
sys
.
registry
().
get
(
peer
_serv_atom
);
self
()
->
send
(
actor_cast
<
actor
>
(
config_server
),
get_atom
::
value
,
to_string
(
mars
().
id
));
sched
.
run
();
...
...
libcaf_io/test/basp_udp.cpp
View file @
63cb12d6
This diff is collapsed.
Click to expand it.
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