Lower number of tests for 64bit platform.

This commit is contained in:
cheatfate 2018-11-07 22:57:54 +02:00
parent 190a16da3b
commit 6b009b26ef
1 changed files with 4 additions and 10 deletions

View File

@ -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.} =