Lower number of tests for 64bit platform.
This commit is contained in:
parent
190a16da3b
commit
6b009b26ef
|
@ -9,16 +9,10 @@
|
||||||
import strutils, net, unittest
|
import strutils, net, unittest
|
||||||
import ../asyncdispatch2
|
import ../asyncdispatch2
|
||||||
|
|
||||||
when sizeof(int) == 8:
|
const
|
||||||
const
|
TestsCount = 2000
|
||||||
TestsCount = 5000
|
ClientsCount = 20
|
||||||
ClientsCount = 50
|
MessagesCount = 20
|
||||||
MessagesCount = 100
|
|
||||||
elif sizeof(int) == 4:
|
|
||||||
const
|
|
||||||
TestsCount = 2000
|
|
||||||
ClientsCount = 20
|
|
||||||
MessagesCount = 20
|
|
||||||
|
|
||||||
proc client1(transp: DatagramTransport,
|
proc client1(transp: DatagramTransport,
|
||||||
raddr: TransportAddress): Future[void] {.async.} =
|
raddr: TransportAddress): Future[void] {.async.} =
|
||||||
|
|
Loading…
Reference in New Issue