summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJesper Jensen <jesper@slashwin.dk>2021-10-27 20:24:30 +0200
committerJesper Jensen <jesper@slashwin.dk>2021-10-27 20:24:30 +0200
commit42a627aab5e47c3f3e05460322b9c1c3f2c69214 (patch)
tree031e8a09ec26229b31f58e2189d0023898881d20 /test
parent38f176ca9c1f21fc11b3ccc6aa45bd2f47e2eab7 (diff)
Increase payload sizemainflush
Diffstat (limited to 'test')
-rw-r--r--test/proto.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/proto.c b/test/proto.c
index 4c9bc15..60fa1cd 100644
--- a/test/proto.c
+++ b/test/proto.c
@@ -10,7 +10,6 @@ void test_begin_pings_bootstrap_node() {
struct dht dht;
dht.self = (struct nodeid){.inner={0x42424242, 0x42424242, 0x42424242, 0x42424242, 0x42424242}};
- routing_flush();
routing_init(&dht.self);
struct message* message_cursor = outbuff;
@@ -30,7 +29,6 @@ void test_response_from_initial_probe() {
struct dht dht;
dht.self = (struct nodeid){.inner={0x42424242, 0x42424242, 0x42424242, 0x42424242, 0x42424242}};
- routing_flush();
routing_init(&dht.self);
{
@@ -63,7 +61,6 @@ void test_reponse_from_wrong_ip() {
struct dht dht;
dht.self = (struct nodeid){.inner={0x42424242, 0x42424242, 0x42424242, 0x42424242, 0x42424242}};
- routing_flush();
routing_init(&dht.self);
{
struct message* message_cursor = outbuff;
@@ -97,7 +94,6 @@ void test_ping() {
struct dht dht;
dht.self = (struct nodeid){.inner={0x42424242, 0x42424242, 0x42424242, 0x42424242, 0x42424242}};
- routing_flush();
routing_init(&dht.self);
{
struct message* message_cursor = outbuff;
@@ -125,7 +121,6 @@ void test_unknown_method() {
struct dht dht;
dht.self = (struct nodeid){.inner={0x42424242, 0x42424242, 0x42424242, 0x42424242, 0x42424242}};
- routing_flush();
routing_init(&dht.self);
{
struct message* message_cursor = outbuff;
@@ -149,7 +144,6 @@ void test_unknown_method() {
}
void test_note_times_out() {
- routing_flush();
struct message outbuff[2] = {0};
struct sockaddr_storage remote;
@@ -157,7 +151,6 @@ void test_note_times_out() {
struct dht dht;
dht.self = (struct nodeid){.inner={0x42424242, 0x42424242, 0x42424242, 0x42424242, 0x42424242}};
- routing_flush();
routing_init(&dht.self);
{
struct message* message_cursor = outbuff;
@@ -189,7 +182,6 @@ void test_response_after_retry() {
struct dht dht;
dht.self = (struct nodeid){.inner={0x42424242, 0x42424242, 0x42424242, 0x42424242, 0x42424242}};
- routing_flush();
routing_init(&dht.self);
{
@@ -216,7 +208,6 @@ void test_remove_from_routing_after_3_retries() {
struct dht dht;
dht.self = (struct nodeid){.inner={0x42424242, 0x42424242, 0x42424242, 0x42424242, 0x42424242}};
- routing_flush();
routing_init(&dht.self);
struct nodeid other = (struct nodeid){.inner={0x61616161, 0x61616161, 0x61616161, 0x61616161, 0x61616161}};
@@ -281,7 +272,6 @@ void test_ping_node_when_uncertain() {
struct dht dht;
dht.self = (struct nodeid){.inner={0x42424242, 0x42424242, 0x42424242, 0x42424242, 0x42424242}};
- routing_flush();
routing_init(&dht.self);
struct nodeid other = (struct nodeid){.inner={0x61616161, 0x61616161, 0x61616161, 0x61616161, 0x61616161}};
@@ -339,7 +329,6 @@ void test_query_find_node() {
struct dht dht;
dht.self = (struct nodeid){.inner={0x42424242, 0x42424242, 0x42424242, 0x42424242, 0x42424242}};
- routing_flush();
routing_init(&dht.self);
struct nodeid other = (struct nodeid){.inner={0x61616161, 0x61616161, 0x61616161, 0x61616161, 0x61616161}};