summary refs log tree commit diff stats
path: root/tests/async
Commit message (Collapse)AuthorAgeFilesLines
* Fix #13889 with testcase (#13896) [backport]Clyybber2020-04-061-0/+27
| | | | | | | | | * Fix https://github.com/nim-lang/Nim/issues/13889 * Add testcase * Reduce test time Co-authored-by: Elie Zedeck RANDRIAMIANDRIRAY <elie.zedeck@gmail.com>
* faster CIs (#13803)Miran2020-03-309-34/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ttables: smaller table, 5x speedup * thavlak: less iterations, less loops; 30% speedup * tasyncclosestall: shorter timeout; 35% speedup * gcleak4: less iterations, 2x speedup * ttimes: remove deprecated stuff * tdangerisrelease: remove cpp backend, 3x speedup * tfrexp1: smaller range, 2x speedup * trtree: fix warnings, less iterations, 6x speedup * tasyncawait_cyclebreaker: smaller swarm size; 2x speedup * trealloc: smaller number of iterations; 10x speedup * towned_binary_tree: less iterations, 4x speedup * tclosure: remove unused code, less iterations; 2x speedup * twaitany: less durations; 1.4x speedup * tasync_misc: less iterations, 2x speedup * t8535: smaller sleep, 1.5x speedup * tmanyjoin: smaller sleep, 2x speedup * t12221: shorter sleeps, removed two slower tests; 1.6x speedup * tfuturestream: smaller sleep; 1.5x speedup * growobjcrash: less iterations; 2x speedup * ttryrecv: smaller sleep; 1.5x speedup * treusetvar: less threads; 2x speedup * delete tthreadanalysis2, basically a duplicate of tthreadanalysis * t7758: less iterations, 1.5x speedup * tasyncawait: smaller swarm, less messages; 1.5x speedup * tjsandnativeasync: smaller sleep, 1.5x speedup * tpendingcheck: smaller sleep, 1.5x speedup * remove rodfiles test category * move tseq from its own category to 'collections' category * remove unneeded tests and helpers from 'assert' category * stdlib: merge tbitops2 into tbitops * remove 'trepr2' from 'stdlib' cat * merge 'tstreams' into one file * remove 'tinefficient_const_table' from 'ccbugs' cat * merge 'tcollections_to_string' into 'tcollections' * tblocking_channel: smaller sleep, small speedup * tconvexhull: less iterartions; 1.2x speedup * merge 'tdeepcopy2' into 'tdeepcopy' * merge 'tdisjoint_slice2' into 'tdisjoint_slice1' * tmissing_deepcopy: smaller sequence * tsendtwice: smaller arrays; 5x speedup * remove 'tindexerrorformatbounds' * disable multimethod tests * remove 'gc:none' and 'refc' without 'd:useRealtimeGC' from gc tests * koch.nim: bootstrap just with '-d:release', no need for 'csource' * add github workflow for documentation * testament: no need for 8 sub-second decimals
* fix deprecations and other warnings (#13748)Miran2020-03-257-17/+16
|
* fix #12919 tasyncclosestall flaky: Address already in use (#12934)Timothee Cour2019-12-191-1/+3
|
* increase the timeout for 'tasyncclosestall' (#12744)Miran2019-11-261-1/+1
| | | | | | This test is very flaky, this change might help reducing the number of failings (usually solved by restarting the test suite). Refs https://github.com/nim-lang/Nim/pull/12694#issuecomment-557583790
* remove deprecated procs (#12535)Andreas Rumpf2019-11-051-2/+2
|
* proof that refcounting can handle Nim's async (#12533)Andreas Rumpf2019-10-281-0/+73
|
* Merge branch 'devel' into IOSelector_unregister_fixDominik Picheta2019-10-221-0/+10
|\
| * Fixed yield in nkCheckedFieldExpr (#12429) [backport]Yuriy Glukhov2019-10-151-0/+10
| |
* | lowered the number of events in the test because some CI's have an extremely ↵Ray Imber2019-10-071-2/+2
| | | | | | | | low FD limit
* | Test + fix for epoll and kqueue selector modules to properly unregisterRay Imber2019-10-061-0/+23
|/ | | | event handles that have the key type "User"
* azure: disable failing testsLeorize2019-10-031-0/+1
|
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-271-1/+1
|
* Fix issue with long wait for passed timer [bugfix] (#12221)PMunch2019-09-221-0/+52
| | | | | | | | | | | | | | | | | | | | | * Fix issue with long wait for passed timer [bugfix] This fixes a small issue where a timer that had been completed while code executed would still wait for more events before being considered completed. This would in some scenarios incur a 500ms delay to the completion of a timer. * Refactor logic into * Add test case based on original issue * Use longer timeouts to be more lenient in checking * Revert to short timeouts, but widen the accepted range * Widen accepted range further, it is meant to check for a 500ms delay after all * Increase poll timeout to make it easier to detect mistakes
* asyndispatch: removed deprecated setEvent procAraq2019-09-212-7/+7
|
* int128 on firstOrd, lastOrd and lengthOrd (#11701)Arne Döring2019-08-071-2/+7
| | | | * fixes #11847
* make async tests green againAndreas Rumpf2019-07-111-5/+5
|
* make tests green againAraq2019-07-101-5/+5
|
* ABI fixes for OSX/BSD; fixes #6860 (#11666)Andreas Rumpf2019-07-062-2/+2
|
* [bugfix] Fixes async IO operations stalling even after socket is closed. ↵Dominik Picheta2019-06-121-0/+99
| | | | (#11232)
* better docs: osproc (#10708)Miran2019-02-191-1/+1
| | | | | * better docs: osproc * fix a typo in the docs, deprecate "demon"
* Provide access to getsockname()/getpeername()Federico Ceratto2019-02-171-0/+4
| | | | Port of #3323 with added tests
* Remove deprecated modules (asyncio, sockets, ftpclient) (#10401)Miran2019-01-221-6/+8
|
* Remove long deprecated stuff (#10332)Miran2019-01-181-1/+1
|
* Fix defer not not-working at top level (#10191)Neelesh Chandola2019-01-071-2/+1
|
* C++: make async tests green on WindowsAraq2018-12-211-0/+1
|
* lots of small changesArne Döring2018-12-113-3/+3
|
* megatest can be executedArne Döring2018-12-111-2/+1
|
* require errormsg to be specified before file.Arne Döring2018-12-1119-39/+13
|
* updated tests to be executedArne Döring2018-11-232-1/+6
|
* make run the default action of a test in testerArne Döring2018-11-232-3/+5
|
* Disable tasyncssl on Windows to fix CIDominik Picheta2018-11-131-0/+1
| | | Workarounds #9689
* Merge pull request #9687 from narimiran/fix-7192Dominik Picheta2018-11-131-0/+14
|\ | | | | export `asyncdispatch.callSoon` (fixes #7192)
| * export `asyncdispatch.callSoon` (fixes #7192)narimiran2018-11-121-0/+14
| |
* | complete future only once in `or` (fixes #8982) (#9632)Miran2018-11-091-0/+33
|/ | | | | | | | | * complete future only once in `or` Analogous to `and`. Credits to @k0zmo for proposing the solution. * add test
* keep the order of the callbacksnarimiran2018-11-071-2/+3
|
* make some tests faster (#9413)Miran2018-10-171-1/+1
| | | | | | | | | | | | * remove duplicated slow test * smaller `convex hull` * smaller sleep * faster `trtree` * smaller sleep in `tfuturestream`
* Fix tests on NixOS (#9209) (#9285)xzfc2018-10-102-3/+3
| | | | | | | * Replace `/bin/sleep` with just `sleep`, i.e. use environment variable `$PATH` to locate binary. * Replace `/usr/share/zoneinfo` with `$TZDIR` when it is defined, fallback to hardcoded path otherwise. This is the same behavior that Glibc2 normally have, see man 3 tzset.
* Fixes #8994. FutureStream read procedure data loss no longer occurs. (#9183)Dominik Picheta2018-10-091-0/+20
| | | | | | * Fixes #8994. FutureStream read procedure data loss no longer occurs. * Optimises the fix for #8994.
* asyncmacro: add nnkSym support for getName() (#9204)alaviss2018-10-091-0/+14
| | | Fixes #9201
* Fix regression w/ templates defined in async procLemonBoy2018-10-031-0/+11
|
* remove test_async.txt after test to keep git status cleanTimothee Cour2018-09-291-0/+1
|
* Skip nested procedures in .async. macroLemonBoy2018-09-221-0/+29
| | | | Fixes #3075
* Convert *_family fields to cushortLemonBoy2018-09-193-9/+3
| | | | Fixes #9008
* make async test more reliableAraq2018-09-151-3/+5
|
* Process timers before and after `select`. Fixes flaky #7758 test. (#8750)Dominik Picheta2018-08-251-5/+6
|
* disables flaky test; fixes #8756Andreas Rumpf2018-08-241-0/+1
|
* Adds test case for #6846. (#8729)Dominik Picheta2018-08-231-0/+16
|
* Don't skip poll() when no handles are present. (#8727)Dominik Picheta2018-08-231-0/+17
| | | | | | | | | | | Fixes #7886. Fixes #7758. Fixes #6929. Fixes #3909. Replaces #8209.
* make more tests green; system.repr does not produce 'nil' for strings and ↵Araq2018-08-221-1/+1
| | | | seqs anymore