Attempt to fix stuck test on 32bit Windows.
This commit is contained in:
parent
d5b887f3d8
commit
2e1f45a472
|
@ -9,10 +9,16 @@
|
||||||
import strutils, net, unittest
|
import strutils, net, unittest
|
||||||
import ../asyncdispatch2
|
import ../asyncdispatch2
|
||||||
|
|
||||||
|
when sizeof(int) == 8:
|
||||||
const
|
const
|
||||||
TestsCount = 10000
|
TestsCount = 10000
|
||||||
ClientsCount = 100
|
ClientsCount = 100
|
||||||
MessagesCount = 100
|
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