aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport-testing-communicator.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-07-28 20:41:58 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-07-28 20:41:58 +0200
commitd9d1e7b861aae0c5f72152faa41da0a7feabc6f0 (patch)
treede02e5a5cd3e6f4757ae767450fd511bc6aa086a /src/transport/transport-testing-communicator.c
parent17c852381a483b943273cdebbf48f23d2919c278 (diff)
downloadgnunet-d9d1e7b861aae0c5f72152faa41da0a7feabc6f0.tar.gz
gnunet-d9d1e7b861aae0c5f72152faa41da0a7feabc6f0.zip
TNG: Actually use faster queue in UDP tests. Tests fail now.
Diffstat (limited to 'src/transport/transport-testing-communicator.c')
-rw-r--r--src/transport/transport-testing-communicator.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/transport/transport-testing-communicator.c b/src/transport/transport-testing-communicator.c
index 1bf88bb3d..e1090eaeb 100644
--- a/src/transport/transport-testing-communicator.c
+++ b/src/transport/transport-testing-communicator.c
@@ -772,6 +772,7 @@ shutdown_process (struct GNUNET_OS_Process *proc)
772 GNUNET_OS_process_destroy (proc); 772 GNUNET_OS_process_destroy (proc);
773} 773}
774 774
775
775/** 776/**
776 * @brief Task run at shutdown to kill the statistics process 777 * @brief Task run at shutdown to kill the statistics process
777 * 778 *
@@ -784,6 +785,7 @@ shutdown_statistics (void *cls)
784 shutdown_process (proc); 785 shutdown_process (proc);
785} 786}
786 787
788
787/** 789/**
788 * @brief Task run at shutdown to kill the peerstore process 790 * @brief Task run at shutdown to kill the peerstore process
789 * 791 *
@@ -796,6 +798,7 @@ shutdown_peerstore (void *cls)
796 shutdown_process (proc); 798 shutdown_process (proc);
797} 799}
798 800
801
799/** 802/**
800 * @brief Task run at shutdown to kill a communicator process 803 * @brief Task run at shutdown to kill a communicator process
801 * 804 *
@@ -913,6 +916,7 @@ resolver_start (struct
913 916
914} 917}
915 918
919
916/** 920/**
917 * @brief Start Statistics 921 * @brief Start Statistics
918 * 922 *
@@ -942,6 +946,7 @@ statistics_start (
942 GNUNET_free (binary); 946 GNUNET_free (binary);
943} 947}
944 948
949
945/** 950/**
946 * @brief Start Peerstore 951 * @brief Start Peerstore
947 * 952 *
@@ -971,6 +976,7 @@ peerstore_start (
971 GNUNET_free (binary); 976 GNUNET_free (binary);
972} 977}
973 978
979
974/** 980/**
975 * @brief Start NAT 981 * @brief Start NAT
976 * 982 *
@@ -1200,7 +1206,7 @@ GNUNET_TRANSPORT_TESTING_transport_communicator_send
1200 inbox_size, 1206 inbox_size,
1201 GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_MSG); 1207 GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_MSG);
1202 GNUNET_assert (NULL != env); 1208 GNUNET_assert (NULL != env);
1203 msg->qid = htonl (tc_queue->qid); 1209 msg->qid = tc_queue->qid;
1204 msg->mid = tc_queue->mid++; 1210 msg->mid = tc_queue->mid++;
1205 msg->receiver = tc_queue->peer_id; 1211 msg->receiver = tc_queue->peer_id;
1206 mh = (struct GNUNET_MessageHeader *) &msg[1]; 1212 mh = (struct GNUNET_MessageHeader *) &msg[1];