From 6b009b26eff2110f86a21ff0fff71a5bc93c7d3a Mon Sep 17 00:00:00 2001 From: cheatfate Date: Wed, 7 Nov 2018 22:57:54 +0200 Subject: [PATCH] Lower number of tests for 64bit platform. --- tests/testdatagram.nim | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/tests/testdatagram.nim b/tests/testdatagram.nim index a4d13aa6..2ce4dfb7 100644 --- a/tests/testdatagram.nim +++ b/tests/testdatagram.nim @@ -9,16 +9,10 @@ import strutils, net, unittest import ../asyncdispatch2 -when sizeof(int) == 8: - const - TestsCount = 5000 - ClientsCount = 50 - MessagesCount = 100 -elif sizeof(int) == 4: - const - TestsCount = 2000 - ClientsCount = 20 - MessagesCount = 20 +const + TestsCount = 2000 + ClientsCount = 20 + MessagesCount = 20 proc client1(transp: DatagramTransport, raddr: TransportAddress): Future[void] {.async.} =