Fix 32bit windows tests.

This commit is contained in:
cheatfate 2018-07-31 13:11:47 +03:00
parent 2e1f45a472
commit 293f993bed
1 changed files with 14 additions and 5 deletions

View File

@ -17,12 +17,21 @@ else:
const
ConstantMessage = "SOMEDATA"
BigMessagePattern = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
BigMessageCount = 1000
ClientsCount = 100
MessagesCount = 100
MessageSize = 20
FilesCount = 50
FilesTestName = "tests/teststream.nim"
when sizeof(int) == 8:
const
BigMessageCount = 1000
ClientsCount = 100
MessagesCount = 100
MessageSize = 20
FilesCount = 50
elif sizeof(int) == 4:
const
BigMessageCount = 200
ClientsCount = 20
MessagesCount = 20
MessageSize = 20
FilesCount = 10
proc serveClient1(server: StreamServer, transp: StreamTransport) {.async.} =
while not transp.atEof():