File tree 9 files changed +33
-33
lines changed
9 files changed +33
-33
lines changed Original file line number Diff line number Diff line change 1
1
archiver_count =1
2
- archiver0_endpoint =" 127.0.0.1:5558 "
2
+ archiver0_endpoint =" 127.0.0.1:29858 "
3
3
archiver0_db =" archiver0_db"
4
- atomizer0_endpoint =" 127.0.0.1:5555 "
4
+ atomizer0_endpoint =" 127.0.0.1:29855 "
5
5
atomizer0_raft_endpoint =" 127.0.0.1:6666"
6
6
atomizer_count =1
7
7
window_size =40000
8
- shard0_endpoint =" 127.0.0.1:5556 "
8
+ shard0_endpoint =" 127.0.0.1:29856 "
9
9
shard0_db =" shard0_db"
10
10
shard0_start =0
11
11
shard0_end =255
12
12
shard0_loglevel =" WARN"
13
13
shard_count =1
14
- sentinel0_endpoint =" 127.0.0.1:5557 "
14
+ sentinel0_endpoint =" 127.0.0.1:29857 "
15
15
sentinel0_loglevel =" WARN"
16
16
sentinel0_private_key =" 0000000000000001000000000000000000000000000000000000000000000000"
17
17
sentinel0_public_key =" eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3"
@@ -23,8 +23,8 @@ election_timeout_lower=3000
23
23
heartbeat =1000
24
24
raft_max_batch =100000
25
25
snapshot_distance =1000000000
26
- watchtower0_client_endpoint =" 127.0.0.1:5559 "
27
- watchtower0_internal_endpoint =" 127.0.0.1:5560 "
26
+ watchtower0_client_endpoint =" 127.0.0.1:29859 "
27
+ watchtower0_internal_endpoint =" 127.0.0.1:29860 "
28
28
watchtower0_loglevel =" TRACE"
29
29
watchtower_count =1
30
30
loadgen_invalid_tx_rate =0.00
Original file line number Diff line number Diff line change 1
1
2pc =1
2
2
sentinel_count =1
3
- sentinel0_endpoint =" 127.0.0.1:5557 "
3
+ sentinel0_endpoint =" 127.0.0.1:29857 "
4
4
sentinel0_loglevel =" DEBUG"
5
5
sentinel0_private_key =" 0000000000000001000000000000000000000000000000000000000000000000"
6
6
sentinel0_public_key =" eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3"
Original file line number Diff line number Diff line change 1
1
archiver_count =1
2
- archiver0_endpoint =" 127.0.0.1:5558 "
2
+ archiver0_endpoint =" 127.0.0.1:29858 "
3
3
archiver0_db =" archiver0_db"
4
4
atomizer0_endpoint =" 127.0.0.1:6600"
5
5
atomizer0_raft_endpoint =" 127.0.0.1:6666"
@@ -8,17 +8,17 @@ atomizer1_raft_endpoint="127.0.0.1:6667"
8
8
atomizer2_endpoint =" 127.0.0.1:6602"
9
9
atomizer2_raft_endpoint =" 127.0.0.1:6668"
10
10
atomizer_count =3
11
- shard0_endpoint =" 127.0.0.1:5556 "
11
+ shard0_endpoint =" 127.0.0.1:29856 "
12
12
shard0_db =" shard0_db"
13
13
shard0_start =0
14
14
shard0_end =255
15
15
shard_count =1
16
- sentinel0_endpoint =" 127.0.0.1:5557 "
16
+ sentinel0_endpoint =" 127.0.0.1:29857 "
17
17
sentinel_count =1
18
18
sentinel0_private_key =" 0000000000000001000000000000000000000000000000000000000000000000"
19
19
sentinel0_public_key =" eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3"
20
20
target_block_interval =3000
21
- watchtower0_client_endpoint =" 127.0.0.1:5559 "
22
- watchtower0_internal_endpoint =" 127.0.0.1:5560 "
21
+ watchtower0_client_endpoint =" 127.0.0.1:29859 "
22
+ watchtower0_internal_endpoint =" 127.0.0.1:29860 "
23
23
watchtower_count =1
24
24
snapshot_distance =2
Original file line number Diff line number Diff line change 1
1
archiver_count =1
2
- archiver0_endpoint =" 127.0.0.1:5558 "
2
+ archiver0_endpoint =" 127.0.0.1:29858 "
3
3
archiver0_db =" archiver0_db"
4
- atomizer0_endpoint =" 127.0.0.1:5555 "
4
+ atomizer0_endpoint =" 127.0.0.1:29855 "
5
5
atomizer0_raft_endpoint =" 127.0.0.1:6666"
6
6
atomizer_count =1
7
- shard0_endpoint =" 127.0.0.1:5556 "
7
+ shard0_endpoint =" 127.0.0.1:29856 "
8
8
shard0_db =" shard0_db"
9
9
shard0_start =0
10
10
shard0_end =8
11
- shard1_endpoint =" 127.0.0.1:5561 "
11
+ shard1_endpoint =" 127.0.0.1:29861 "
12
12
shard1_db =" shard1_db"
13
13
shard1_start =4
14
14
shard1_end =32
15
- shard2_endpoint =" 127.0.0.1:5562 "
15
+ shard2_endpoint =" 127.0.0.1:29862 "
16
16
shard2_db =" shard2_db"
17
17
shard2_start =16
18
18
shard2_end =64
19
- shard3_endpoint =" 127.0.0.1:5563 "
19
+ shard3_endpoint =" 127.0.0.1:29863 "
20
20
shard3_db =" shard3_db"
21
21
shard3_start =32
22
22
shard3_end =128
23
- shard4_endpoint =" 127.0.0.1:5564 "
23
+ shard4_endpoint =" 127.0.0.1:29864 "
24
24
shard4_db =" shard4_db"
25
25
shard4_start =64
26
26
shard4_end =255
27
27
shard_count =5
28
- sentinel0_endpoint =" 127.0.0.1:5557 "
28
+ sentinel0_endpoint =" 127.0.0.1:29857 "
29
29
sentinel0_private_key =" 0000000000000001000000000000000000000000000000000000000000000000"
30
30
sentinel0_public_key =" eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3"
31
31
sentinel_count =1
32
- watchtower0_client_endpoint =" 127.0.0.1:5559 "
33
- watchtower0_internal_endpoint =" 127.0.0.1:5560 "
32
+ watchtower0_client_endpoint =" 127.0.0.1:29859 "
33
+ watchtower0_internal_endpoint =" 127.0.0.1:29860 "
34
34
watchtower_count =1
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ class ArchiverTest : public ::testing::Test {
18
18
cbdc::logging::log_level::fatal);
19
19
20
20
cbdc::network::endpoint_t atomizer_endpoint
21
- = {" non-existent-host" , 5001 };
21
+ = {" non-existent-host" , 29801 };
22
22
m_config_opts.m_atomizer_endpoints .emplace_back (atomizer_endpoint);
23
- cbdc::network::endpoint_t archiver_endpoint = {" 127.0.0.1" , 5000 };
23
+ cbdc::network::endpoint_t archiver_endpoint = {" 127.0.0.1" , 29800 };
24
24
m_config_opts.m_archiver_endpoints .emplace_back (archiver_endpoint);
25
25
m_config_opts.m_archiver_db_dirs .emplace_back (" archiver0_db" );
26
26
m_archiver
Original file line number Diff line number Diff line change 1
1
2pc =1
2
2
sentinel_count =1
3
- sentinel0_endpoint =" 127.0.0.1:5557 "
3
+ sentinel0_endpoint =" 127.0.0.1:29857 "
4
4
sentinel0_loglevel =" DEBUG"
5
5
sentinel0_private_key =" 0000000000000001000000000000000000000000000000000000000000000000"
6
6
sentinel0_public_key =" eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3"
Original file line number Diff line number Diff line change 1
1
2pc =1
2
2
sentinel_count =1
3
- sentinel0_endpoint =" 127.0.0.1:5557 "
3
+ sentinel0_endpoint =" 127.0.0.1:29857 "
4
4
sentinel0_loglevel =" DEBUG"
5
5
sentinel0_private_key =" 0000000000000001000000000000000000000000000000000000000000000000"
6
6
sentinel0_public_key =" eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3"
Original file line number Diff line number Diff line change @@ -95,9 +95,9 @@ class raft_test : public ::testing::Test {
95
95
m_raft_params.heart_beat_interval_ = 1000 ;
96
96
m_raft_params.snapshot_distance_ = 0 ;
97
97
m_raft_params.max_append_size_ = 100000 ;
98
- m_raft_endpoints.emplace_back (" 127.0.0.1" , 5000 );
99
- m_raft_endpoints.emplace_back (" 127.0.0.1" , 5001 );
100
- m_raft_endpoints.emplace_back (" 127.0.0.1" , 5002 );
98
+ m_raft_endpoints.emplace_back (" 127.0.0.1" , 29800 );
99
+ m_raft_endpoints.emplace_back (" 127.0.0.1" , 29801 );
100
+ m_raft_endpoints.emplace_back (" 127.0.0.1" , 29802 );
101
101
}
102
102
103
103
void TearDown () override {
@@ -226,7 +226,7 @@ class raft_test : public ::testing::Test {
226
226
}
227
227
228
228
// Test failure to init node raft by keeping port busy
229
- auto ep = cbdc::network::endpoint_t {cbdc::network::localhost, 5001 };
229
+ auto ep = cbdc::network::endpoint_t {cbdc::network::localhost, 29801 };
230
230
auto listener = cbdc::network::tcp_listener ();
231
231
listener.listen (ep.first , ep.second );
232
232
ASSERT_FALSE (nodes[1 ]->init (m_raft_params));
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class SocketTest : public ::testing::Test {};
16
16
TEST_F (SocketTest, ListenConnectBasic) {
17
17
auto listener = cbdc::network::tcp_listener ();
18
18
19
- static constexpr auto portno = 5555 ;
19
+ static constexpr auto portno = 29855 ;
20
20
ASSERT_TRUE (listener.listen (cbdc::network::localhost, portno));
21
21
22
22
auto conn_sock = cbdc::network::tcp_socket ();
@@ -47,7 +47,7 @@ TEST_F(SocketTest, selector_connect) {
47
47
ASSERT_TRUE (s.init ());
48
48
49
49
auto listener = cbdc::network::tcp_listener ();
50
- static constexpr auto portno = 5555 ;
50
+ static constexpr auto portno = 29855 ;
51
51
ASSERT_TRUE (listener.listen (cbdc::network::localhost, portno));
52
52
53
53
ASSERT_TRUE (s.add (listener));
@@ -74,7 +74,7 @@ TEST_F(SocketTest, selector_unblock) {
74
74
t.join ();
75
75
76
76
auto listener = cbdc::network::tcp_listener ();
77
- static constexpr auto portno = 5555 ;
77
+ static constexpr auto portno = 29855 ;
78
78
ASSERT_TRUE (listener.listen (cbdc::network::localhost, portno));
79
79
80
80
ASSERT_TRUE (s.add (listener));
You can’t perform that action at this time.
0 commit comments