aboutsummaryrefslogtreecommitdiffstats
path: root/test/fiber
Commit message (Collapse)AuthorAgeFilesLines
* test/fiber/test_backtrace.rb: prevent a warningYusuke Endoh2020-08-181-2/+2
| | | | | | | | | | | ``` /home/chkbuild/chkbuild/tmp/build/20200818T033004Z/ruby/test/fiber/test_backtrace.rb:9: warning: ambiguous first argument; put parentheses or a space even after `/' operator /home/chkbuild/chkbuild/tmp/build/20200818T033004Z/ruby/test/fiber/test_backtrace.rb:15: warning: ambiguous first argument; put parentheses or a space even after `/' operator ```
* Expose ec -> backtrace (internal) and use it to implement fiber backtrace.Samuel Williams2020-08-181-0/+22
| | | | See <https://bugs.ruby-lang.org/issues/16815> for more details.
* Suppress "assigned but unused variable" warningsYusuke Endoh2020-07-231-2/+2
|
* Remove trailing spaces [ci skip]Nobuyoshi Nakada2020-07-201-2/+2
|
* Add multi-threaded I/O test.Samuel Williams2020-07-201-0/+23
|
* Improve consistency of tests.Samuel Williams2020-07-203-5/+13
|
* Remove fiber HTTP test.Samuel Williams2020-07-161-28/+0
| | | | | | The HTTP test hits a remote website which isn't always available and is not self-contained. Ideally we will rewrite this test with an internal web server.
* Close sockets if blocking to fix leaked fdsNobuyoshi Nakada2020-07-151-1/+7
|
* Improved assertionsNobuyoshi Nakada2020-06-091-2/+2
|
* Return seconds slept after Thread.scheduler wait_sleepnicholas a. evans2020-06-091-1/+18
| | | | | | Kernel#sleep should still return seconds slept, even when using a Thread.scheduler. The return value of Scheduler#wait_sleep can be ignored.
* Fixup d48c92aa04ffd3a1cecef599eaa5e4409aab2fe4Hiroshi SHIBATA2020-05-231-1/+1
|
* Rename TestScheduler* to TestFiber for convention of the test directoryHiroshi SHIBATA2020-05-236-6/+6
|
* Move `test/scheduler` -> `test/fiber` [Bug #16892][ruby-core:98366].Samuel Williams2020-05-158-0/+428