gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r17549 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r17549 - gnunet/src/transport
Date: Mon, 17 Oct 2011 16:14:22 +0200

Author: wachs
Date: 2011-10-17 16:14:22 +0200 (Mon, 17 Oct 2011)
New Revision: 17549

Removed:
   gnunet/src/transport/test_quota_compliance_udp_asymmetric_peer1.conf
   gnunet/src/transport/test_quota_compliance_udp_asymmetric_peer2.conf
Modified:
   gnunet/src/transport/Makefile.am
   gnunet/src/transport/test_quota_compliance.c
   gnunet/src/transport/test_quota_compliance_http_peer1.conf
   gnunet/src/transport/test_quota_compliance_http_peer2.conf
   gnunet/src/transport/test_quota_compliance_https_peer1.conf
   gnunet/src/transport/test_quota_compliance_https_peer2.conf
   gnunet/src/transport/test_quota_compliance_tcp_asymmetric_peer1.conf
   gnunet/src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf
   gnunet/src/transport/test_quota_compliance_tcp_peer1.conf
   gnunet/src/transport/test_quota_compliance_tcp_peer2.conf
   gnunet/src/transport/test_quota_compliance_udp_peer1.conf
   gnunet/src/transport/test_quota_compliance_udp_peer2.conf
   gnunet/src/transport/test_quota_compliance_unix_asymmetric_peer2.conf
   gnunet/src/transport/test_quota_compliance_unix_peer1.conf
   gnunet/src/transport/test_quota_compliance_unix_peer2.conf
Log:


Modified: gnunet/src/transport/Makefile.am
===================================================================
--- gnunet/src/transport/Makefile.am    2011-10-17 14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/Makefile.am    2011-10-17 14:14:22 UTC (rev 17549)
@@ -281,7 +281,6 @@
  test_quota_compliance_tcp \
  test_quota_compliance_tcp_asymmetric \
  test_quota_compliance_udp \
- test_quota_compliance_udp_asymmetric \
  $(UNIX_QUOTA_TEST) \
  $(HTTP_QUOTA_TEST) \
  $(HTTPS_QUOTA_TEST) \
@@ -320,7 +319,6 @@
  test_quota_compliance_tcp \
  test_quota_compliance_tcp_asymmetric \
  test_quota_compliance_udp \
- test_quota_compliance_udp_asymmetric \
  $(UNIX_QUOTA_TEST) \
  $(HTTP_QUOTA_TEST) \
  $(HTTPS_QUOTA_TEST) \
@@ -646,14 +644,6 @@
  $(top_builddir)/src/util/libgnunetutil.la \
  $(top_builddir)/src/transport/libgnunettransporttesting.la
 
-test_quota_compliance_udp_asymmetric_SOURCES = \
- test_quota_compliance.c
-test_quota_compliance_udp_asymmetric_LDADD = \
- $(top_builddir)/src/transport/libgnunettransport.la \
- $(top_builddir)/src/hello/libgnunethello.la \
- $(top_builddir)/src/util/libgnunetutil.la \
- $(top_builddir)/src/transport/libgnunettransporttesting.la
-
 test_quota_compliance_unix_SOURCES = \
  test_quota_compliance.c
 test_quota_compliance_unix_LDADD = \

Modified: gnunet/src/transport/test_quota_compliance.c
===================================================================
--- gnunet/src/transport/test_quota_compliance.c        2011-10-17 14:03:36 UTC 
(rev 17548)
+++ gnunet/src/transport/test_quota_compliance.c        2011-10-17 14:14:22 UTC 
(rev 17549)
@@ -36,7 +36,7 @@
 #include "transport.h"
 #include "transport-testing.h"
 
-#define VERBOSE GNUNET_YES
+#define VERBOSE GNUNET_NO
 
 #define VERBOSE_ARM GNUNET_EXTRA_LOGGING
 
@@ -52,7 +52,7 @@
  */
 #define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_SECONDS, 2)
 
-#define DURATION GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10)
+#define DURATION GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5)
 
 static char *test_source;
 
@@ -90,6 +90,7 @@
 
 static GNUNET_TRANSPORT_TESTING_ConnectRequest cc;
 
+
 /*
  * Testcase specific declarations
  */
@@ -497,13 +498,13 @@
       "Generated config file `%s'\n",
       gen_cfg_p2);
 
-  p1 = GNUNET_TRANSPORT_TESTING_start_peer (tth, gen_cfg_p1, 1,
+  p1 = GNUNET_TRANSPORT_TESTING_start_peer (tth, cfg_file_p1, 1,
                                             &notify_receive,
                                             &notify_connect, 
&notify_disconnect,
                                             &start_cb,
                                             NULL);
 
-  p2 = GNUNET_TRANSPORT_TESTING_start_peer (tth, gen_cfg_p2, 2,
+  p2 = GNUNET_TRANSPORT_TESTING_start_peer (tth, cfg_file_p2, 2,
                                             &notify_receive,
                                             &notify_connect, 
&notify_disconnect,
                                             &start_cb,
@@ -632,7 +633,7 @@
 
   GNUNET_TRANSPORT_TESTING_done (tth);
 
-  return ret;
+  return test_failed;
 }
 
 

Modified: gnunet/src/transport/test_quota_compliance_http_peer1.conf
===================================================================
--- gnunet/src/transport/test_quota_compliance_http_peer1.conf  2011-10-17 
14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/test_quota_compliance_http_peer1.conf  2011-10-17 
14:14:22 UTC (rev 17549)
@@ -3,6 +3,10 @@
 SERVICEHOME = /tmp/test_quota_compliance_peer1
 DEFAULTCONFIG = test_quota_compliance_http_peer1.conf
 
+[core]
+TOTAL_QUOTA_IN = 10000
+TOTAL_QUOTA_OUT = 10000
+
 [transport-http]
 PORT = 4010
 DEBUG = NO

Modified: gnunet/src/transport/test_quota_compliance_http_peer2.conf
===================================================================
--- gnunet/src/transport/test_quota_compliance_http_peer2.conf  2011-10-17 
14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/test_quota_compliance_http_peer2.conf  2011-10-17 
14:14:22 UTC (rev 17549)
@@ -3,6 +3,10 @@
 SERVICEHOME = /tmp/test_quota_compliance_peer2
 DEFAULTCONFIG = test_quota_compliance_http_peer2.conf
 
+[core]
+TOTAL_QUOTA_IN = 10000
+TOTAL_QUOTA_OUT = 10000
+
 [transport-http]
 PORT = 3010
 DEBUG = NO

Modified: gnunet/src/transport/test_quota_compliance_https_peer1.conf
===================================================================
--- gnunet/src/transport/test_quota_compliance_https_peer1.conf 2011-10-17 
14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/test_quota_compliance_https_peer1.conf 2011-10-17 
14:14:22 UTC (rev 17549)
@@ -3,6 +3,10 @@
 SERVICEHOME = /tmp/test_quota_compliance_peer1/
 DEFAULTCONFIG = test_quota_compliance_https_peer1.conf
 
+[core]
+TOTAL_QUOTA_IN = 10000
+TOTAL_QUOTA_OUT = 10000
+
 [transport-https]
 PORT = 4001
 CRYPTO_INIT = NONE:+VERS-TLS1.0:+ARCFOUR-128:+SHA1:+RSA:+COMP-NULL

Modified: gnunet/src/transport/test_quota_compliance_https_peer2.conf
===================================================================
--- gnunet/src/transport/test_quota_compliance_https_peer2.conf 2011-10-17 
14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/test_quota_compliance_https_peer2.conf 2011-10-17 
14:14:22 UTC (rev 17549)
@@ -3,6 +3,10 @@
 SERVICEHOME = /tmp/test_quota_compliance_peer2
 DEFAULTCONFIG = test_quota_compliance_https_peer2.conf
 
+[core]
+TOTAL_QUOTA_IN = 10000
+TOTAL_QUOTA_OUT = 10000
+
 [transport-https]
 PORT = 3001
 CRYPTO_INIT = NONE:+VERS-TLS1.0:+ARCFOUR-128:+SHA1:+RSA:+COMP-NULL

Modified: gnunet/src/transport/test_quota_compliance_tcp_asymmetric_peer1.conf
===================================================================
--- gnunet/src/transport/test_quota_compliance_tcp_asymmetric_peer1.conf        
2011-10-17 14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/test_quota_compliance_tcp_asymmetric_peer1.conf        
2011-10-17 14:14:22 UTC (rev 17549)
@@ -1,8 +1,12 @@
 @INLINE@ template_cfg_peer1.conf
 [PATHS]
 SERVICEHOME = /tmp/test-transport/quota-tcp-p1/
-DEFAULTCONFIG = test_quota_compliance_tcp_peer1.conf
+DEFAULTCONFIG = test_quota_compliance_tcp_asymmetric_peer1.conf
 
+[core]
+TOTAL_QUOTA_IN = 10000
+TOTAL_QUOTA_OUT = 10000
+
 [transport-tcp]
 PORT = 4094
 

Modified: gnunet/src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf
===================================================================
--- gnunet/src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf        
2011-10-17 14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf        
2011-10-17 14:14:22 UTC (rev 17549)
@@ -1,32 +1,34 @@
 @INLINE@ template_cfg_peer2.conf
 [PATHS]
-SERVICEHOME = /tmp/test_quota_compliance_peer2
-DEFAULTCONFIG = test_quota_compliance_tcp_peer2.conf
+SERVICEHOME = /tmp/test-transport/quota-tcp-p2/
+DEFAULTCONFIG = test_quota_compliance_tcp_asymmetric_peer2.conf
 
+[core]
+TOTAL_QUOTA_IN = 10000
+TOTAL_QUOTA_OUT = 10000
+
 [transport-tcp]
-PORT = 3094
+PORT = 12015
+TIMEOUT = 5000
 
-[transport-udp]
-PORT = 3094
-
 [arm]
-PORT = 3087
-UNIXPATH = /tmp/test_quota_compliance_tcp_arm_peer2.sock
+PORT = 12014
+DEFAULTSERVICES = transport
+UNIXPATH = /tmp/gnunet-p2-service-arm.sock
 
 [statistics]
-PORT = 3088
-UNIXPATH = /tmp/test_quota_compliance_tcp_statistics_peer2.sock
+PORT = 12013
+UNIXPATH = /tmp/gnunet-p2-service-statistics.sock
 
 [resolver]
-PORT = 3089
-UNIXPATH = /tmp/test_quota_compliance_tcp_resolver_peer2.sock
+PORT = 12012
+UNIXPATH = /tmp/gnunet-p2-service-resolver.sock
 
 [peerinfo]
-PORT = 3090
-UNIXPATH = /tmp/test_quota_compliance_tcp_peerinfo_peer2.sock
+PORT = 12011
+UNIXPATH = /tmp/gnunet-p2-service-peerinfo.sock
 
 [transport]
-PORT = 3091
-UNIXPATH = /tmp/test_quota_compliance_tcp_transport_peer2.sock
+PORT = 12010
+UNIXPATH = /tmp/gnunet-p2-service-transport.sock
 
-

Modified: gnunet/src/transport/test_quota_compliance_tcp_peer1.conf
===================================================================
--- gnunet/src/transport/test_quota_compliance_tcp_peer1.conf   2011-10-17 
14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/test_quota_compliance_tcp_peer1.conf   2011-10-17 
14:14:22 UTC (rev 17549)
@@ -3,6 +3,10 @@
 SERVICEHOME = /tmp/test-transport/quota-tcp-p1/
 DEFAULTCONFIG = test_quota_compliance_tcp_peer1.conf
 
+[core]
+TOTAL_QUOTA_IN = 10000
+TOTAL_QUOTA_OUT = 10000
+
 [transport-tcp]
 PORT = 4094
 

Modified: gnunet/src/transport/test_quota_compliance_tcp_peer2.conf
===================================================================
--- gnunet/src/transport/test_quota_compliance_tcp_peer2.conf   2011-10-17 
14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/test_quota_compliance_tcp_peer2.conf   2011-10-17 
14:14:22 UTC (rev 17549)
@@ -1,32 +1,34 @@
 @INLINE@ template_cfg_peer2.conf
 [PATHS]
-SERVICEHOME = /tmp/test_quota_compliance_peer2
+SERVICEHOME = /tmp/test-transport/api-tcp-p2/
 DEFAULTCONFIG = test_quota_compliance_tcp_peer2.conf
 
+[core]
+TOTAL_QUOTA_IN = 10000
+TOTAL_QUOTA_OUT = 10000
+
 [transport-tcp]
-PORT = 3094
+PORT = 12015
+TIMEOUT = 5000
 
-[transport-udp]
-PORT = 3094
-
 [arm]
-PORT = 3087
-UNIXPATH = /tmp/test_quota_compliance_tcp_arm_peer2.sock
+PORT = 12014
+DEFAULTSERVICES = transport
+UNIXPATH = /tmp/gnunet-p2-service-arm.sock
 
 [statistics]
-PORT = 3088
-UNIXPATH = /tmp/test_quota_compliance_tcp_statistics_peer2.sock
+PORT = 12013
+UNIXPATH = /tmp/gnunet-p2-service-statistics.sock
 
 [resolver]
-PORT = 3089
-UNIXPATH = /tmp/test_quota_compliance_tcp_resolver_peer2.sock
+PORT = 12012
+UNIXPATH = /tmp/gnunet-p2-service-resolver.sock
 
 [peerinfo]
-PORT = 3090
-UNIXPATH = /tmp/test_quota_compliance_tcp_peerinfo_peer2.sock
+PORT = 12011
+UNIXPATH = /tmp/gnunet-p2-service-peerinfo.sock
 
 [transport]
-PORT = 3091
-UNIXPATH = /tmp/test_quota_compliance_tcp_transport_peer2.sock
+PORT = 12010
+UNIXPATH = /tmp/gnunet-p2-service-transport.sock
 
-

Deleted: gnunet/src/transport/test_quota_compliance_udp_asymmetric_peer1.conf
===================================================================
--- gnunet/src/transport/test_quota_compliance_udp_asymmetric_peer1.conf        
2011-10-17 14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/test_quota_compliance_udp_asymmetric_peer1.conf        
2011-10-17 14:14:22 UTC (rev 17549)
@@ -1,30 +0,0 @@
address@hidden@ template_cfg_peer2.conf
-[PATHS]
-SERVICEHOME = /tmp/test_quota_compliance_peer1/
-DEFAULTCONFIG = test_quota_compliance_udp_peer1.conf
-
-[transport-udp]
-PORT = 4368
-MAX_BPS = 50000000
-
-[arm]
-PORT = 4087
-UNIXPATH = /tmp/test_quota_compliance_udp_arm_peer1.sock
-
-[statistics]
-PORT = 4088
-UNIXPATH = /tmp/test_quota_compliance_udp_statistics_peer1.sock
-
-[resolver]
-PORT = 4089
-UNIXPATH = /tmp/test_quota_compliance_udp_resolver_peer1.sock
-
-[peerinfo]
-PORT = 4090
-UNIXPATH = /tmp/test_quota_compliance_udp_peerinfo_peer1.sock
-
-[transport]
-PORT = 4091
-PLUGINS = udp
-UNIXPATH = /tmp/test_quota_compliance_udp_transport_peer1.sock
-

Deleted: gnunet/src/transport/test_quota_compliance_udp_asymmetric_peer2.conf
===================================================================
--- gnunet/src/transport/test_quota_compliance_udp_asymmetric_peer2.conf        
2011-10-17 14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/test_quota_compliance_udp_asymmetric_peer2.conf        
2011-10-17 14:14:22 UTC (rev 17549)
@@ -1,31 +0,0 @@
address@hidden@ template_cfg_peer2.conf
-[PATHS]
-SERVICEHOME = /tmp/test_quota_compliance_peer2
-DEFAULTCONFIG = test_quota_compliance_udp_peer2.conf
-
-[transport-udp]
-PORT = 3368
-MAX_BPS = 50000000
-
-[arm]
-PORT = 3087
-UNIXPATH = /tmp/test_quota_compliance_udp_arm_peer2.sock
-
-[statistics]
-PORT = 3088
-UNIXPATH = /tmp/test_quota_compliance_udp_statistics_peer2.sock
-
-[resolver]
-PORT = 3089
-UNIXPATH = /tmp/test_quota_compliance_udp_resolver_peer2.sock
-
-[peerinfo]
-PORT = 3090
-UNIXPATH = /tmp/test_quota_compliance_udp_peerinfo_peer2.sock
-
-[transport]
-PORT = 3091
-PLUGINS = udp
-UNIXPATH = /tmp/test_quota_compliance_udp_transport_peer2.sock
-
-

Modified: gnunet/src/transport/test_quota_compliance_udp_peer1.conf
===================================================================
--- gnunet/src/transport/test_quota_compliance_udp_peer1.conf   2011-10-17 
14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/test_quota_compliance_udp_peer1.conf   2011-10-17 
14:14:22 UTC (rev 17549)
@@ -1,8 +1,12 @@
address@hidden@ template_cfg_peer2.conf
address@hidden@ template_cfg_peer1.conf
 [PATHS]
 SERVICEHOME = /tmp/test_quota_compliance_peer1/
 DEFAULTCONFIG = test_quota_compliance_udp_peer1.conf
 
+[core]
+TOTAL_QUOTA_IN = 10000
+TOTAL_QUOTA_OUT = 10000
+
 [transport-udp]
 PORT = 4368
 MAX_BPS = 50000000

Modified: gnunet/src/transport/test_quota_compliance_udp_peer2.conf
===================================================================
--- gnunet/src/transport/test_quota_compliance_udp_peer2.conf   2011-10-17 
14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/test_quota_compliance_udp_peer2.conf   2011-10-17 
14:14:22 UTC (rev 17549)
@@ -1,8 +1,14 @@
 @INLINE@ template_cfg_peer2.conf
+TOTAL_QUOTA_IN = 10000
+TOTAL_QUOTA_OUT = 10000
 [PATHS]
 SERVICEHOME = /tmp/test_quota_compliance_peer2
 DEFAULTCONFIG = test_quota_compliance_udp_peer2.conf
 
+[core]
+TOTAL_QUOTA_IN = 10000
+TOTAL_QUOTA_OUT = 10000
+
 [transport-udp]
 PORT = 3368
 MAX_BPS = 50000000

Modified: gnunet/src/transport/test_quota_compliance_unix_asymmetric_peer2.conf
===================================================================
--- gnunet/src/transport/test_quota_compliance_unix_asymmetric_peer2.conf       
2011-10-17 14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/test_quota_compliance_unix_asymmetric_peer2.conf       
2011-10-17 14:14:22 UTC (rev 17549)
@@ -1,4 +1,4 @@
address@hidden@ template_cfg_peer1.conf
address@hidden@ template_cfg_peer2.conf
 [PATHS]
 SERVICEHOME = /tmp/test_quota_compliance_peer2
 DEFAULTCONFIG = test_quota_compliance_unix_asymmetric_peer2.conf

Modified: gnunet/src/transport/test_quota_compliance_unix_peer1.conf
===================================================================
--- gnunet/src/transport/test_quota_compliance_unix_peer1.conf  2011-10-17 
14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/test_quota_compliance_unix_peer1.conf  2011-10-17 
14:14:22 UTC (rev 17549)
@@ -3,6 +3,10 @@
 SERVICEHOME = /tmp/test_quota_compliance_peer1/
 DEFAULTCONFIG = test_quota_compliance_unix_peer1.conf
 
+[core]
+TOTAL_QUOTA_IN = 10000
+TOTAL_QUOTA_OUT = 10000
+
 [transport-unix]
 PORT = 12120
 

Modified: gnunet/src/transport/test_quota_compliance_unix_peer2.conf
===================================================================
--- gnunet/src/transport/test_quota_compliance_unix_peer2.conf  2011-10-17 
14:03:36 UTC (rev 17548)
+++ gnunet/src/transport/test_quota_compliance_unix_peer2.conf  2011-10-17 
14:14:22 UTC (rev 17549)
@@ -1,8 +1,12 @@
address@hidden@ template_cfg_peer1.conf
address@hidden@ template_cfg_peer2.conf
 [PATHS]
 SERVICEHOME = /tmp/test_quota_compliance_peer2
 DEFAULTCONFIG = test_quota_compliance_unix_peer2.conf
 
+[core]
+TOTAL_QUOTA_IN = 10000
+TOTAL_QUOTA_OUT = 10000
+
 [transport-unix]
 PORT = 12136
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]