From d6318a064954f54530a87ae9a21a2cf78c32f7cb Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Sun, 11 May 2025 19:09:32 +0200 Subject: Give nodes a little more timeout time --- test/proto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/proto.c') diff --git a/test/proto.c b/test/proto.c index d876762..d8b8f72 100644 --- a/test/proto.c +++ b/test/proto.c @@ -234,9 +234,9 @@ void test_note_times_out() { proto_run(&dht, buff, sizeof(buff), (struct sockaddr_in*)&remote, remote_len, 5, &message_cursor, outbuff+2); } - // 15 minutes later a timeout is fired + // later a timeout is fired struct message* message_cursor = outbuff; - proto_run(&dht, NULL, 0, (struct sockaddr_in*)&remote, remote_len, 905, &message_cursor, outbuff+2); + proto_run(&dht, NULL, 0, (struct sockaddr_in*)&remote, remote_len, 1205, &message_cursor, outbuff+2); // Which should create a retry ping and a ping for the (now) uncertain node TEST_ASSERT_EQUAL_PTR(message_cursor, outbuff+2); -- cgit v1.2.3