diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-17 09:59:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-17 09:59:05 +0000 |
commit | a41c27367cfbe9fde370a6590da4926f622ea213 (patch) | |
tree | e9faebbccd48aaa8c2830bf7ded19cc937d0ac95 /src/core | |
parent | eb89b950a3571c4fc71ebd7aa0ff92a1e5f29501 (diff) | |
download | gnunet-a41c27367cfbe9fde370a6590da4926f622ea213.tar.gz gnunet-a41c27367cfbe9fde370a6590da4926f622ea213.zip |
configure ATS ports conflict-free for tests
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/test_core_api_peer1.conf | 3 | ||||
-rw-r--r-- | src/core/test_core_api_peer2.conf | 3 | ||||
-rw-r--r-- | src/core/test_core_api_send_to_self.conf | 4 | ||||
-rw-r--r-- | src/core/test_core_quota_asymmetric_recv_limited_peer1.conf | 4 | ||||
-rw-r--r-- | src/core/test_core_quota_asymmetric_recv_limited_peer2.conf | 4 | ||||
-rw-r--r-- | src/core/test_core_quota_asymmetric_send_limit_peer1.conf | 5 | ||||
-rw-r--r-- | src/core/test_core_quota_asymmetric_send_limit_peer2.conf | 5 | ||||
-rw-r--r-- | src/core/test_core_quota_asymmetric_send_limited_peer1.conf | 35 | ||||
-rw-r--r-- | src/core/test_core_quota_asymmetric_send_limited_peer2.conf | 35 | ||||
-rw-r--r-- | src/core/test_core_quota_peer1.conf | 4 | ||||
-rw-r--r-- | src/core/test_core_quota_peer2.conf | 4 |
11 files changed, 36 insertions, 70 deletions
diff --git a/src/core/test_core_api_peer1.conf b/src/core/test_core_api_peer1.conf index d1ba57a7f..662318a44 100644 --- a/src/core/test_core_api_peer1.conf +++ b/src/core/test_core_api_peer1.conf | |||
@@ -25,3 +25,6 @@ UNIXPATH = /tmp/gnunet-p1-service-peerinfo.sock | |||
25 | PORT = 12465 | 25 | PORT = 12465 |
26 | UNIXPATH = /tmp/gnunet-p1-service-transport.sock | 26 | UNIXPATH = /tmp/gnunet-p1-service-transport.sock |
27 | 27 | ||
28 | [ats] | ||
29 | PORT = 12471 | ||
30 | UNIXPATH = /tmp/gnunet-p1-service-ats.sock | ||
diff --git a/src/core/test_core_api_peer2.conf b/src/core/test_core_api_peer2.conf index 4e5071251..2e848b849 100644 --- a/src/core/test_core_api_peer2.conf +++ b/src/core/test_core_api_peer2.conf | |||
@@ -30,3 +30,6 @@ UNIXPATH = /tmp/gnunet-p2-service-transport.sock | |||
30 | PORT = 22470 | 30 | PORT = 22470 |
31 | UNIXPATH = /tmp/gnunet-p2-service-core.sock | 31 | UNIXPATH = /tmp/gnunet-p2-service-core.sock |
32 | 32 | ||
33 | [ats] | ||
34 | PORT = 22471 | ||
35 | UNIXPATH = /tmp/gnunet-p2-service-ats.sock | ||
diff --git a/src/core/test_core_api_send_to_self.conf b/src/core/test_core_api_send_to_self.conf index 8271ea96a..ad3cb1780 100644 --- a/src/core/test_core_api_send_to_self.conf +++ b/src/core/test_core_api_send_to_self.conf | |||
@@ -13,6 +13,10 @@ TOTAL_QUOTA_IN = 104857600 | |||
13 | TOTAL_QUOTA_OUT = 104757600 | 13 | TOTAL_QUOTA_OUT = 104757600 |
14 | UNIXPATH = /tmp/gnunet-service-core.sock | 14 | UNIXPATH = /tmp/gnunet-service-core.sock |
15 | 15 | ||
16 | [ats] | ||
17 | PORT = 24571 | ||
18 | UNIXPATH = /tmp/gnunet-p1-service-ats.sock | ||
19 | |||
16 | [test-sts] | 20 | [test-sts] |
17 | AUTOSTART = YES | 21 | AUTOSTART = YES |
18 | PORT = 9252 | 22 | PORT = 9252 |
diff --git a/src/core/test_core_quota_asymmetric_recv_limited_peer1.conf b/src/core/test_core_quota_asymmetric_recv_limited_peer1.conf index 54ee690e2..b7e92ee84 100644 --- a/src/core/test_core_quota_asymmetric_recv_limited_peer1.conf +++ b/src/core/test_core_quota_asymmetric_recv_limited_peer1.conf | |||
@@ -33,3 +33,7 @@ TOTAL_QUOTA_OUT = 1000000 | |||
33 | UNIXPATH = /tmp/gnunet-core-asym-recv-p1-service-core.sock | 33 | UNIXPATH = /tmp/gnunet-core-asym-recv-p1-service-core.sock |
34 | DEBUG = NO | 34 | DEBUG = NO |
35 | 35 | ||
36 | [ats] | ||
37 | PORT = 12491 | ||
38 | UNIXPATH = /tmp/gnunet-core-asym-recv-p1-service-ats.sock | ||
39 | |||
diff --git a/src/core/test_core_quota_asymmetric_recv_limited_peer2.conf b/src/core/test_core_quota_asymmetric_recv_limited_peer2.conf index a39b69a61..a0d8c6776 100644 --- a/src/core/test_core_quota_asymmetric_recv_limited_peer2.conf +++ b/src/core/test_core_quota_asymmetric_recv_limited_peer2.conf | |||
@@ -33,3 +33,7 @@ TOTAL_QUOTA_OUT = 10240 | |||
33 | UNIXPATH = /tmp/gnunet-core-asym-recv-p2-service-core.sock | 33 | UNIXPATH = /tmp/gnunet-core-asym-recv-p2-service-core.sock |
34 | DEBUG = NO | 34 | DEBUG = NO |
35 | 35 | ||
36 | [ats] | ||
37 | PORT = 22491 | ||
38 | UNIXPATH = /tmp/gnunet-core-asym-recv-p2-service-ats.sock | ||
39 | |||
diff --git a/src/core/test_core_quota_asymmetric_send_limit_peer1.conf b/src/core/test_core_quota_asymmetric_send_limit_peer1.conf index 8c0542cbf..1056e3471 100644 --- a/src/core/test_core_quota_asymmetric_send_limit_peer1.conf +++ b/src/core/test_core_quota_asymmetric_send_limit_peer1.conf | |||
@@ -33,3 +33,8 @@ TOTAL_QUOTA_OUT = 10240 | |||
33 | UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-core.sock | 33 | UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-core.sock |
34 | DEBUG = NO | 34 | DEBUG = NO |
35 | 35 | ||
36 | |||
37 | [ats] | ||
38 | PORT = 12491 | ||
39 | UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-ats.sock | ||
40 | |||
diff --git a/src/core/test_core_quota_asymmetric_send_limit_peer2.conf b/src/core/test_core_quota_asymmetric_send_limit_peer2.conf index e2471c9bd..8101f62df 100644 --- a/src/core/test_core_quota_asymmetric_send_limit_peer2.conf +++ b/src/core/test_core_quota_asymmetric_send_limit_peer2.conf | |||
@@ -33,3 +33,8 @@ TOTAL_QUOTA_OUT = 1000000 | |||
33 | UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-core.sock | 33 | UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-core.sock |
34 | DEBUG = NO | 34 | DEBUG = NO |
35 | 35 | ||
36 | |||
37 | [ats] | ||
38 | PORT = 22491 | ||
39 | UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-ats.sock | ||
40 | |||
diff --git a/src/core/test_core_quota_asymmetric_send_limited_peer1.conf b/src/core/test_core_quota_asymmetric_send_limited_peer1.conf deleted file mode 100644 index 9fed64bd1..000000000 --- a/src/core/test_core_quota_asymmetric_send_limited_peer1.conf +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | @INLINE@ test_core_defaults.conf | ||
2 | [PATHS] | ||
3 | SERVICEHOME = /tmp/test-gnunet-core-quota-asym-sender-lim-peer-1/ | ||
4 | DEFAULTCONFIG = test_core_quota_asymmetric_send_limited_peer1.conf | ||
5 | |||
6 | [transport-tcp] | ||
7 | PORT = 12428 | ||
8 | |||
9 | [arm] | ||
10 | PORT = 12426 | ||
11 | UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-arm.sock | ||
12 | |||
13 | [statistics] | ||
14 | PORT = 12427 | ||
15 | UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-statistics.sock | ||
16 | |||
17 | [resolver] | ||
18 | PORT = 12424 | ||
19 | UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-resolver.sock | ||
20 | |||
21 | [peerinfo] | ||
22 | PORT = 12429 | ||
23 | UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-peerinfo.sock | ||
24 | |||
25 | [transport] | ||
26 | PORT = 12425 | ||
27 | UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-transport.sock | ||
28 | |||
29 | [core] | ||
30 | PORT = 12430 | ||
31 | TOTAL_QUOTA_IN = 10240 | ||
32 | TOTAL_QUOTA_OUT = 10240 | ||
33 | UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-core.sock | ||
34 | DEBUG = NO | ||
35 | |||
diff --git a/src/core/test_core_quota_asymmetric_send_limited_peer2.conf b/src/core/test_core_quota_asymmetric_send_limited_peer2.conf deleted file mode 100644 index 6a766985c..000000000 --- a/src/core/test_core_quota_asymmetric_send_limited_peer2.conf +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | @INLINE@ test_core_defaults.conf | ||
2 | [PATHS] | ||
3 | SERVICEHOME = /tmp/test-gnunet-core-quota-asym-sender-lim-peer-2/ | ||
4 | DEFAULTCONFIG = test_core_quota_asymmetric_send_limited_peer2.conf | ||
5 | |||
6 | [transport-tcp] | ||
7 | PORT = 22428 | ||
8 | |||
9 | [arm] | ||
10 | PORT = 22426 | ||
11 | UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-arm.sock | ||
12 | |||
13 | [statistics] | ||
14 | PORT = 22427 | ||
15 | UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-statistics.sock | ||
16 | |||
17 | [resolver] | ||
18 | PORT = 22424 | ||
19 | UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-resolver.sock | ||
20 | |||
21 | [peerinfo] | ||
22 | PORT = 22429 | ||
23 | UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-peerinfo.sock | ||
24 | |||
25 | [transport] | ||
26 | PORT = 22425 | ||
27 | UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-transport.sock | ||
28 | |||
29 | [core] | ||
30 | PORT = 22430 | ||
31 | TOTAL_QUOTA_IN = 1000000 | ||
32 | TOTAL_QUOTA_OUT = 1000000 | ||
33 | UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-core.sock | ||
34 | DEBUG = NO | ||
35 | |||
diff --git a/src/core/test_core_quota_peer1.conf b/src/core/test_core_quota_peer1.conf index 18b806131..78b4a8aac 100644 --- a/src/core/test_core_quota_peer1.conf +++ b/src/core/test_core_quota_peer1.conf | |||
@@ -33,3 +33,7 @@ TOTAL_QUOTA_OUT = 10240 | |||
33 | UNIXPATH = /tmp/gnunet-core-sym-p1-service-core.sock | 33 | UNIXPATH = /tmp/gnunet-core-sym-p1-service-core.sock |
34 | DEBUG = NO | 34 | DEBUG = NO |
35 | 35 | ||
36 | [ats] | ||
37 | PORT = 12481 | ||
38 | UNIXPATH = /tmp/gnunet-core-sym-p1-service-ats.sock | ||
39 | |||
diff --git a/src/core/test_core_quota_peer2.conf b/src/core/test_core_quota_peer2.conf index 52ae44f33..bc64fee00 100644 --- a/src/core/test_core_quota_peer2.conf +++ b/src/core/test_core_quota_peer2.conf | |||
@@ -33,3 +33,7 @@ TOTAL_QUOTA_OUT = 10240 | |||
33 | UNIXPATH = /tmp/gnunet-core-sym-p2-service-core.sock | 33 | UNIXPATH = /tmp/gnunet-core-sym-p2-service-core.sock |
34 | DEBUG = NO | 34 | DEBUG = NO |
35 | 35 | ||
36 | [ats] | ||
37 | PORT = 22482 | ||
38 | UNIXPATH = /tmp/gnunet-core-sym-p2-service-ats.sock | ||
39 | |||