diff options
Diffstat (limited to 'src')
17 files changed, 89 insertions, 113 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am index c156d483f..142d4de25 100644 --- a/src/transport/Makefile.am +++ b/src/transport/Makefile.am | |||
@@ -281,7 +281,6 @@ check_PROGRAMS = \ | |||
281 | test_quota_compliance_tcp \ | 281 | test_quota_compliance_tcp \ |
282 | test_quota_compliance_tcp_asymmetric \ | 282 | test_quota_compliance_tcp_asymmetric \ |
283 | test_quota_compliance_udp \ | 283 | test_quota_compliance_udp \ |
284 | test_quota_compliance_udp_asymmetric \ | ||
285 | $(UNIX_QUOTA_TEST) \ | 284 | $(UNIX_QUOTA_TEST) \ |
286 | $(HTTP_QUOTA_TEST) \ | 285 | $(HTTP_QUOTA_TEST) \ |
287 | $(HTTPS_QUOTA_TEST) \ | 286 | $(HTTPS_QUOTA_TEST) \ |
@@ -320,7 +319,6 @@ TESTS = \ | |||
320 | test_quota_compliance_tcp \ | 319 | test_quota_compliance_tcp \ |
321 | test_quota_compliance_tcp_asymmetric \ | 320 | test_quota_compliance_tcp_asymmetric \ |
322 | test_quota_compliance_udp \ | 321 | test_quota_compliance_udp \ |
323 | test_quota_compliance_udp_asymmetric \ | ||
324 | $(UNIX_QUOTA_TEST) \ | 322 | $(UNIX_QUOTA_TEST) \ |
325 | $(HTTP_QUOTA_TEST) \ | 323 | $(HTTP_QUOTA_TEST) \ |
326 | $(HTTPS_QUOTA_TEST) \ | 324 | $(HTTPS_QUOTA_TEST) \ |
@@ -646,14 +644,6 @@ test_quota_compliance_udp_LDADD = \ | |||
646 | $(top_builddir)/src/util/libgnunetutil.la \ | 644 | $(top_builddir)/src/util/libgnunetutil.la \ |
647 | $(top_builddir)/src/transport/libgnunettransporttesting.la | 645 | $(top_builddir)/src/transport/libgnunettransporttesting.la |
648 | 646 | ||
649 | test_quota_compliance_udp_asymmetric_SOURCES = \ | ||
650 | test_quota_compliance.c | ||
651 | test_quota_compliance_udp_asymmetric_LDADD = \ | ||
652 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
653 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
654 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
655 | $(top_builddir)/src/transport/libgnunettransporttesting.la | ||
656 | |||
657 | test_quota_compliance_unix_SOURCES = \ | 647 | test_quota_compliance_unix_SOURCES = \ |
658 | test_quota_compliance.c | 648 | test_quota_compliance.c |
659 | test_quota_compliance_unix_LDADD = \ | 649 | test_quota_compliance_unix_LDADD = \ |
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c index 2eacbd765..ec4b9a8db 100644 --- a/src/transport/test_quota_compliance.c +++ b/src/transport/test_quota_compliance.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include "transport.h" | 36 | #include "transport.h" |
37 | #include "transport-testing.h" | 37 | #include "transport-testing.h" |
38 | 38 | ||
39 | #define VERBOSE GNUNET_YES | 39 | #define VERBOSE GNUNET_NO |
40 | 40 | ||
41 | #define VERBOSE_ARM GNUNET_EXTRA_LOGGING | 41 | #define VERBOSE_ARM GNUNET_EXTRA_LOGGING |
42 | 42 | ||
@@ -52,7 +52,7 @@ | |||
52 | */ | 52 | */ |
53 | #define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 2) | 53 | #define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 2) |
54 | 54 | ||
55 | #define DURATION GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10) | 55 | #define DURATION GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) |
56 | 56 | ||
57 | static char *test_source; | 57 | static char *test_source; |
58 | 58 | ||
@@ -90,6 +90,7 @@ struct GNUNET_TRANSPORT_TESTING_handle * tth; | |||
90 | 90 | ||
91 | static GNUNET_TRANSPORT_TESTING_ConnectRequest cc; | 91 | static GNUNET_TRANSPORT_TESTING_ConnectRequest cc; |
92 | 92 | ||
93 | |||
93 | /* | 94 | /* |
94 | * Testcase specific declarations | 95 | * Testcase specific declarations |
95 | */ | 96 | */ |
@@ -497,13 +498,13 @@ run_measurement (unsigned long long p1_quota_in, unsigned long long p1_quota_out | |||
497 | "Generated config file `%s'\n", | 498 | "Generated config file `%s'\n", |
498 | gen_cfg_p2); | 499 | gen_cfg_p2); |
499 | 500 | ||
500 | p1 = GNUNET_TRANSPORT_TESTING_start_peer (tth, gen_cfg_p1, 1, | 501 | p1 = GNUNET_TRANSPORT_TESTING_start_peer (tth, cfg_file_p1, 1, |
501 | ¬ify_receive, | 502 | ¬ify_receive, |
502 | ¬ify_connect, ¬ify_disconnect, | 503 | ¬ify_connect, ¬ify_disconnect, |
503 | &start_cb, | 504 | &start_cb, |
504 | NULL); | 505 | NULL); |
505 | 506 | ||
506 | p2 = GNUNET_TRANSPORT_TESTING_start_peer (tth, gen_cfg_p2, 2, | 507 | p2 = GNUNET_TRANSPORT_TESTING_start_peer (tth, cfg_file_p2, 2, |
507 | ¬ify_receive, | 508 | ¬ify_receive, |
508 | ¬ify_connect, ¬ify_disconnect, | 509 | ¬ify_connect, ¬ify_disconnect, |
509 | &start_cb, | 510 | &start_cb, |
@@ -632,7 +633,7 @@ main (int argc, char *argv[]) | |||
632 | 633 | ||
633 | GNUNET_TRANSPORT_TESTING_done (tth); | 634 | GNUNET_TRANSPORT_TESTING_done (tth); |
634 | 635 | ||
635 | return ret; | 636 | return test_failed; |
636 | } | 637 | } |
637 | 638 | ||
638 | 639 | ||
diff --git a/src/transport/test_quota_compliance_http_peer1.conf b/src/transport/test_quota_compliance_http_peer1.conf index 872a75365..06d0e275d 100644 --- a/src/transport/test_quota_compliance_http_peer1.conf +++ b/src/transport/test_quota_compliance_http_peer1.conf | |||
@@ -3,6 +3,10 @@ | |||
3 | SERVICEHOME = /tmp/test_quota_compliance_peer1 | 3 | SERVICEHOME = /tmp/test_quota_compliance_peer1 |
4 | DEFAULTCONFIG = test_quota_compliance_http_peer1.conf | 4 | DEFAULTCONFIG = test_quota_compliance_http_peer1.conf |
5 | 5 | ||
6 | [core] | ||
7 | TOTAL_QUOTA_IN = 10000 | ||
8 | TOTAL_QUOTA_OUT = 10000 | ||
9 | |||
6 | [transport-http] | 10 | [transport-http] |
7 | PORT = 4010 | 11 | PORT = 4010 |
8 | DEBUG = NO | 12 | DEBUG = NO |
diff --git a/src/transport/test_quota_compliance_http_peer2.conf b/src/transport/test_quota_compliance_http_peer2.conf index 256dc61eb..d3a039cfa 100644 --- a/src/transport/test_quota_compliance_http_peer2.conf +++ b/src/transport/test_quota_compliance_http_peer2.conf | |||
@@ -3,6 +3,10 @@ | |||
3 | SERVICEHOME = /tmp/test_quota_compliance_peer2 | 3 | SERVICEHOME = /tmp/test_quota_compliance_peer2 |
4 | DEFAULTCONFIG = test_quota_compliance_http_peer2.conf | 4 | DEFAULTCONFIG = test_quota_compliance_http_peer2.conf |
5 | 5 | ||
6 | [core] | ||
7 | TOTAL_QUOTA_IN = 10000 | ||
8 | TOTAL_QUOTA_OUT = 10000 | ||
9 | |||
6 | [transport-http] | 10 | [transport-http] |
7 | PORT = 3010 | 11 | PORT = 3010 |
8 | DEBUG = NO | 12 | DEBUG = NO |
diff --git a/src/transport/test_quota_compliance_https_peer1.conf b/src/transport/test_quota_compliance_https_peer1.conf index 47f93096c..8859304bb 100644 --- a/src/transport/test_quota_compliance_https_peer1.conf +++ b/src/transport/test_quota_compliance_https_peer1.conf | |||
@@ -3,6 +3,10 @@ | |||
3 | SERVICEHOME = /tmp/test_quota_compliance_peer1/ | 3 | SERVICEHOME = /tmp/test_quota_compliance_peer1/ |
4 | DEFAULTCONFIG = test_quota_compliance_https_peer1.conf | 4 | DEFAULTCONFIG = test_quota_compliance_https_peer1.conf |
5 | 5 | ||
6 | [core] | ||
7 | TOTAL_QUOTA_IN = 10000 | ||
8 | TOTAL_QUOTA_OUT = 10000 | ||
9 | |||
6 | [transport-https] | 10 | [transport-https] |
7 | PORT = 4001 | 11 | PORT = 4001 |
8 | CRYPTO_INIT = NONE:+VERS-TLS1.0:+ARCFOUR-128:+SHA1:+RSA:+COMP-NULL | 12 | CRYPTO_INIT = NONE:+VERS-TLS1.0:+ARCFOUR-128:+SHA1:+RSA:+COMP-NULL |
diff --git a/src/transport/test_quota_compliance_https_peer2.conf b/src/transport/test_quota_compliance_https_peer2.conf index 79bf0331f..afe4824bd 100644 --- a/src/transport/test_quota_compliance_https_peer2.conf +++ b/src/transport/test_quota_compliance_https_peer2.conf | |||
@@ -3,6 +3,10 @@ | |||
3 | SERVICEHOME = /tmp/test_quota_compliance_peer2 | 3 | SERVICEHOME = /tmp/test_quota_compliance_peer2 |
4 | DEFAULTCONFIG = test_quota_compliance_https_peer2.conf | 4 | DEFAULTCONFIG = test_quota_compliance_https_peer2.conf |
5 | 5 | ||
6 | [core] | ||
7 | TOTAL_QUOTA_IN = 10000 | ||
8 | TOTAL_QUOTA_OUT = 10000 | ||
9 | |||
6 | [transport-https] | 10 | [transport-https] |
7 | PORT = 3001 | 11 | PORT = 3001 |
8 | CRYPTO_INIT = NONE:+VERS-TLS1.0:+ARCFOUR-128:+SHA1:+RSA:+COMP-NULL | 12 | CRYPTO_INIT = NONE:+VERS-TLS1.0:+ARCFOUR-128:+SHA1:+RSA:+COMP-NULL |
diff --git a/src/transport/test_quota_compliance_tcp_asymmetric_peer1.conf b/src/transport/test_quota_compliance_tcp_asymmetric_peer1.conf index ff63514b1..47f6a639c 100644 --- a/src/transport/test_quota_compliance_tcp_asymmetric_peer1.conf +++ b/src/transport/test_quota_compliance_tcp_asymmetric_peer1.conf | |||
@@ -1,7 +1,11 @@ | |||
1 | @INLINE@ template_cfg_peer1.conf | 1 | @INLINE@ template_cfg_peer1.conf |
2 | [PATHS] | 2 | [PATHS] |
3 | SERVICEHOME = /tmp/test-transport/quota-tcp-p1/ | 3 | SERVICEHOME = /tmp/test-transport/quota-tcp-p1/ |
4 | DEFAULTCONFIG = test_quota_compliance_tcp_peer1.conf | 4 | DEFAULTCONFIG = test_quota_compliance_tcp_asymmetric_peer1.conf |
5 | |||
6 | [core] | ||
7 | TOTAL_QUOTA_IN = 10000 | ||
8 | TOTAL_QUOTA_OUT = 10000 | ||
5 | 9 | ||
6 | [transport-tcp] | 10 | [transport-tcp] |
7 | PORT = 4094 | 11 | PORT = 4094 |
diff --git a/src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf b/src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf index 608c49a07..d9c182be5 100644 --- a/src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf +++ b/src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf | |||
@@ -1,32 +1,34 @@ | |||
1 | @INLINE@ template_cfg_peer2.conf | 1 | @INLINE@ template_cfg_peer2.conf |
2 | [PATHS] | 2 | [PATHS] |
3 | SERVICEHOME = /tmp/test_quota_compliance_peer2 | 3 | SERVICEHOME = /tmp/test-transport/quota-tcp-p2/ |
4 | DEFAULTCONFIG = test_quota_compliance_tcp_peer2.conf | 4 | DEFAULTCONFIG = test_quota_compliance_tcp_asymmetric_peer2.conf |
5 | 5 | ||
6 | [transport-tcp] | 6 | [core] |
7 | PORT = 3094 | 7 | TOTAL_QUOTA_IN = 10000 |
8 | TOTAL_QUOTA_OUT = 10000 | ||
8 | 9 | ||
9 | [transport-udp] | 10 | [transport-tcp] |
10 | PORT = 3094 | 11 | PORT = 12015 |
12 | TIMEOUT = 5000 | ||
11 | 13 | ||
12 | [arm] | 14 | [arm] |
13 | PORT = 3087 | 15 | PORT = 12014 |
14 | UNIXPATH = /tmp/test_quota_compliance_tcp_arm_peer2.sock | 16 | DEFAULTSERVICES = transport |
17 | UNIXPATH = /tmp/gnunet-p2-service-arm.sock | ||
15 | 18 | ||
16 | [statistics] | 19 | [statistics] |
17 | PORT = 3088 | 20 | PORT = 12013 |
18 | UNIXPATH = /tmp/test_quota_compliance_tcp_statistics_peer2.sock | 21 | UNIXPATH = /tmp/gnunet-p2-service-statistics.sock |
19 | 22 | ||
20 | [resolver] | 23 | [resolver] |
21 | PORT = 3089 | 24 | PORT = 12012 |
22 | UNIXPATH = /tmp/test_quota_compliance_tcp_resolver_peer2.sock | 25 | UNIXPATH = /tmp/gnunet-p2-service-resolver.sock |
23 | 26 | ||
24 | [peerinfo] | 27 | [peerinfo] |
25 | PORT = 3090 | 28 | PORT = 12011 |
26 | UNIXPATH = /tmp/test_quota_compliance_tcp_peerinfo_peer2.sock | 29 | UNIXPATH = /tmp/gnunet-p2-service-peerinfo.sock |
27 | 30 | ||
28 | [transport] | 31 | [transport] |
29 | PORT = 3091 | 32 | PORT = 12010 |
30 | UNIXPATH = /tmp/test_quota_compliance_tcp_transport_peer2.sock | 33 | UNIXPATH = /tmp/gnunet-p2-service-transport.sock |
31 | |||
32 | 34 | ||
diff --git a/src/transport/test_quota_compliance_tcp_peer1.conf b/src/transport/test_quota_compliance_tcp_peer1.conf index ff63514b1..f92d9cd98 100644 --- a/src/transport/test_quota_compliance_tcp_peer1.conf +++ b/src/transport/test_quota_compliance_tcp_peer1.conf | |||
@@ -3,6 +3,10 @@ | |||
3 | SERVICEHOME = /tmp/test-transport/quota-tcp-p1/ | 3 | SERVICEHOME = /tmp/test-transport/quota-tcp-p1/ |
4 | DEFAULTCONFIG = test_quota_compliance_tcp_peer1.conf | 4 | DEFAULTCONFIG = test_quota_compliance_tcp_peer1.conf |
5 | 5 | ||
6 | [core] | ||
7 | TOTAL_QUOTA_IN = 10000 | ||
8 | TOTAL_QUOTA_OUT = 10000 | ||
9 | |||
6 | [transport-tcp] | 10 | [transport-tcp] |
7 | PORT = 4094 | 11 | PORT = 4094 |
8 | 12 | ||
diff --git a/src/transport/test_quota_compliance_tcp_peer2.conf b/src/transport/test_quota_compliance_tcp_peer2.conf index 608c49a07..5fe5d070e 100644 --- a/src/transport/test_quota_compliance_tcp_peer2.conf +++ b/src/transport/test_quota_compliance_tcp_peer2.conf | |||
@@ -1,32 +1,34 @@ | |||
1 | @INLINE@ template_cfg_peer2.conf | 1 | @INLINE@ template_cfg_peer2.conf |
2 | [PATHS] | 2 | [PATHS] |
3 | SERVICEHOME = /tmp/test_quota_compliance_peer2 | 3 | SERVICEHOME = /tmp/test-transport/api-tcp-p2/ |
4 | DEFAULTCONFIG = test_quota_compliance_tcp_peer2.conf | 4 | DEFAULTCONFIG = test_quota_compliance_tcp_peer2.conf |
5 | 5 | ||
6 | [transport-tcp] | 6 | [core] |
7 | PORT = 3094 | 7 | TOTAL_QUOTA_IN = 10000 |
8 | TOTAL_QUOTA_OUT = 10000 | ||
8 | 9 | ||
9 | [transport-udp] | 10 | [transport-tcp] |
10 | PORT = 3094 | 11 | PORT = 12015 |
12 | TIMEOUT = 5000 | ||
11 | 13 | ||
12 | [arm] | 14 | [arm] |
13 | PORT = 3087 | 15 | PORT = 12014 |
14 | UNIXPATH = /tmp/test_quota_compliance_tcp_arm_peer2.sock | 16 | DEFAULTSERVICES = transport |
17 | UNIXPATH = /tmp/gnunet-p2-service-arm.sock | ||
15 | 18 | ||
16 | [statistics] | 19 | [statistics] |
17 | PORT = 3088 | 20 | PORT = 12013 |
18 | UNIXPATH = /tmp/test_quota_compliance_tcp_statistics_peer2.sock | 21 | UNIXPATH = /tmp/gnunet-p2-service-statistics.sock |
19 | 22 | ||
20 | [resolver] | 23 | [resolver] |
21 | PORT = 3089 | 24 | PORT = 12012 |
22 | UNIXPATH = /tmp/test_quota_compliance_tcp_resolver_peer2.sock | 25 | UNIXPATH = /tmp/gnunet-p2-service-resolver.sock |
23 | 26 | ||
24 | [peerinfo] | 27 | [peerinfo] |
25 | PORT = 3090 | 28 | PORT = 12011 |
26 | UNIXPATH = /tmp/test_quota_compliance_tcp_peerinfo_peer2.sock | 29 | UNIXPATH = /tmp/gnunet-p2-service-peerinfo.sock |
27 | 30 | ||
28 | [transport] | 31 | [transport] |
29 | PORT = 3091 | 32 | PORT = 12010 |
30 | UNIXPATH = /tmp/test_quota_compliance_tcp_transport_peer2.sock | 33 | UNIXPATH = /tmp/gnunet-p2-service-transport.sock |
31 | |||
32 | 34 | ||
diff --git a/src/transport/test_quota_compliance_udp_asymmetric_peer1.conf b/src/transport/test_quota_compliance_udp_asymmetric_peer1.conf deleted file mode 100644 index 4848b065e..000000000 --- a/src/transport/test_quota_compliance_udp_asymmetric_peer1.conf +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | @INLINE@ template_cfg_peer2.conf | ||
2 | [PATHS] | ||
3 | SERVICEHOME = /tmp/test_quota_compliance_peer1/ | ||
4 | DEFAULTCONFIG = test_quota_compliance_udp_peer1.conf | ||
5 | |||
6 | [transport-udp] | ||
7 | PORT = 4368 | ||
8 | MAX_BPS = 50000000 | ||
9 | |||
10 | [arm] | ||
11 | PORT = 4087 | ||
12 | UNIXPATH = /tmp/test_quota_compliance_udp_arm_peer1.sock | ||
13 | |||
14 | [statistics] | ||
15 | PORT = 4088 | ||
16 | UNIXPATH = /tmp/test_quota_compliance_udp_statistics_peer1.sock | ||
17 | |||
18 | [resolver] | ||
19 | PORT = 4089 | ||
20 | UNIXPATH = /tmp/test_quota_compliance_udp_resolver_peer1.sock | ||
21 | |||
22 | [peerinfo] | ||
23 | PORT = 4090 | ||
24 | UNIXPATH = /tmp/test_quota_compliance_udp_peerinfo_peer1.sock | ||
25 | |||
26 | [transport] | ||
27 | PORT = 4091 | ||
28 | PLUGINS = udp | ||
29 | UNIXPATH = /tmp/test_quota_compliance_udp_transport_peer1.sock | ||
30 | |||
diff --git a/src/transport/test_quota_compliance_udp_asymmetric_peer2.conf b/src/transport/test_quota_compliance_udp_asymmetric_peer2.conf deleted file mode 100644 index 4b58c934f..000000000 --- a/src/transport/test_quota_compliance_udp_asymmetric_peer2.conf +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | @INLINE@ template_cfg_peer2.conf | ||
2 | [PATHS] | ||
3 | SERVICEHOME = /tmp/test_quota_compliance_peer2 | ||
4 | DEFAULTCONFIG = test_quota_compliance_udp_peer2.conf | ||
5 | |||
6 | [transport-udp] | ||
7 | PORT = 3368 | ||
8 | MAX_BPS = 50000000 | ||
9 | |||
10 | [arm] | ||
11 | PORT = 3087 | ||
12 | UNIXPATH = /tmp/test_quota_compliance_udp_arm_peer2.sock | ||
13 | |||
14 | [statistics] | ||
15 | PORT = 3088 | ||
16 | UNIXPATH = /tmp/test_quota_compliance_udp_statistics_peer2.sock | ||
17 | |||
18 | [resolver] | ||
19 | PORT = 3089 | ||
20 | UNIXPATH = /tmp/test_quota_compliance_udp_resolver_peer2.sock | ||
21 | |||
22 | [peerinfo] | ||
23 | PORT = 3090 | ||
24 | UNIXPATH = /tmp/test_quota_compliance_udp_peerinfo_peer2.sock | ||
25 | |||
26 | [transport] | ||
27 | PORT = 3091 | ||
28 | PLUGINS = udp | ||
29 | UNIXPATH = /tmp/test_quota_compliance_udp_transport_peer2.sock | ||
30 | |||
31 | |||
diff --git a/src/transport/test_quota_compliance_udp_peer1.conf b/src/transport/test_quota_compliance_udp_peer1.conf index 4848b065e..3e52c2167 100644 --- a/src/transport/test_quota_compliance_udp_peer1.conf +++ b/src/transport/test_quota_compliance_udp_peer1.conf | |||
@@ -1,8 +1,12 @@ | |||
1 | @INLINE@ template_cfg_peer2.conf | 1 | @INLINE@ template_cfg_peer1.conf |
2 | [PATHS] | 2 | [PATHS] |
3 | SERVICEHOME = /tmp/test_quota_compliance_peer1/ | 3 | SERVICEHOME = /tmp/test_quota_compliance_peer1/ |
4 | DEFAULTCONFIG = test_quota_compliance_udp_peer1.conf | 4 | DEFAULTCONFIG = test_quota_compliance_udp_peer1.conf |
5 | 5 | ||
6 | [core] | ||
7 | TOTAL_QUOTA_IN = 10000 | ||
8 | TOTAL_QUOTA_OUT = 10000 | ||
9 | |||
6 | [transport-udp] | 10 | [transport-udp] |
7 | PORT = 4368 | 11 | PORT = 4368 |
8 | MAX_BPS = 50000000 | 12 | MAX_BPS = 50000000 |
diff --git a/src/transport/test_quota_compliance_udp_peer2.conf b/src/transport/test_quota_compliance_udp_peer2.conf index 4b58c934f..d6d928f7c 100644 --- a/src/transport/test_quota_compliance_udp_peer2.conf +++ b/src/transport/test_quota_compliance_udp_peer2.conf | |||
@@ -1,8 +1,14 @@ | |||
1 | @INLINE@ template_cfg_peer2.conf | 1 | @INLINE@ template_cfg_peer2.conf |
2 | TOTAL_QUOTA_IN = 10000 | ||
3 | TOTAL_QUOTA_OUT = 10000 | ||
2 | [PATHS] | 4 | [PATHS] |
3 | SERVICEHOME = /tmp/test_quota_compliance_peer2 | 5 | SERVICEHOME = /tmp/test_quota_compliance_peer2 |
4 | DEFAULTCONFIG = test_quota_compliance_udp_peer2.conf | 6 | DEFAULTCONFIG = test_quota_compliance_udp_peer2.conf |
5 | 7 | ||
8 | [core] | ||
9 | TOTAL_QUOTA_IN = 10000 | ||
10 | TOTAL_QUOTA_OUT = 10000 | ||
11 | |||
6 | [transport-udp] | 12 | [transport-udp] |
7 | PORT = 3368 | 13 | PORT = 3368 |
8 | MAX_BPS = 50000000 | 14 | MAX_BPS = 50000000 |
diff --git a/src/transport/test_quota_compliance_unix_asymmetric_peer2.conf b/src/transport/test_quota_compliance_unix_asymmetric_peer2.conf index fa24517ee..a2d1bdd18 100644 --- a/src/transport/test_quota_compliance_unix_asymmetric_peer2.conf +++ b/src/transport/test_quota_compliance_unix_asymmetric_peer2.conf | |||
@@ -1,4 +1,4 @@ | |||
1 | @INLINE@ template_cfg_peer1.conf | 1 | @INLINE@ template_cfg_peer2.conf |
2 | [PATHS] | 2 | [PATHS] |
3 | SERVICEHOME = /tmp/test_quota_compliance_peer2 | 3 | SERVICEHOME = /tmp/test_quota_compliance_peer2 |
4 | DEFAULTCONFIG = test_quota_compliance_unix_asymmetric_peer2.conf | 4 | DEFAULTCONFIG = test_quota_compliance_unix_asymmetric_peer2.conf |
diff --git a/src/transport/test_quota_compliance_unix_peer1.conf b/src/transport/test_quota_compliance_unix_peer1.conf index 60e656bad..20844227a 100644 --- a/src/transport/test_quota_compliance_unix_peer1.conf +++ b/src/transport/test_quota_compliance_unix_peer1.conf | |||
@@ -3,6 +3,10 @@ | |||
3 | SERVICEHOME = /tmp/test_quota_compliance_peer1/ | 3 | SERVICEHOME = /tmp/test_quota_compliance_peer1/ |
4 | DEFAULTCONFIG = test_quota_compliance_unix_peer1.conf | 4 | DEFAULTCONFIG = test_quota_compliance_unix_peer1.conf |
5 | 5 | ||
6 | [core] | ||
7 | TOTAL_QUOTA_IN = 10000 | ||
8 | TOTAL_QUOTA_OUT = 10000 | ||
9 | |||
6 | [transport-unix] | 10 | [transport-unix] |
7 | PORT = 12120 | 11 | PORT = 12120 |
8 | 12 | ||
diff --git a/src/transport/test_quota_compliance_unix_peer2.conf b/src/transport/test_quota_compliance_unix_peer2.conf index 42db979a2..332226a84 100644 --- a/src/transport/test_quota_compliance_unix_peer2.conf +++ b/src/transport/test_quota_compliance_unix_peer2.conf | |||
@@ -1,8 +1,12 @@ | |||
1 | @INLINE@ template_cfg_peer1.conf | 1 | @INLINE@ template_cfg_peer2.conf |
2 | [PATHS] | 2 | [PATHS] |
3 | SERVICEHOME = /tmp/test_quota_compliance_peer2 | 3 | SERVICEHOME = /tmp/test_quota_compliance_peer2 |
4 | DEFAULTCONFIG = test_quota_compliance_unix_peer2.conf | 4 | DEFAULTCONFIG = test_quota_compliance_unix_peer2.conf |
5 | 5 | ||
6 | [core] | ||
7 | TOTAL_QUOTA_IN = 10000 | ||
8 | TOTAL_QUOTA_OUT = 10000 | ||
9 | |||
6 | [transport-unix] | 10 | [transport-unix] |
7 | PORT = 12136 | 11 | PORT = 12136 |
8 | 12 | ||