Sönke Ludwig
b846a06a35
Make the std.concurrency test more robust against bad sleep timing.
2020-05-22 10:33:17 +02:00
Sönke Ludwig
92ef5cafdf
Port TCP tests from the vibe.d repository.
2020-03-19 12:15:05 +01:00
Sönke Ludwig
48c3e793c0
Fix the vibe.core.net.1726 test to work consistently on Windows.
2020-03-18 12:36:08 +01:00
Sönke Ludwig
968ac82c8d
Use normal main() and avoid socket leak in test.
2020-03-16 14:14:50 +01:00
Sönke Ludwig
0b44d15045
Don't rely on a hard-coded port in test.
2020-03-15 14:01:18 +01:00
Sönke Ludwig
a6bd4a0b1d
Fix regression test w.r.t. slightly changed semantics of schedule().
...
A single call to yield() (which calls schedule() once) is not sufficient anymore to guarantee that both tasks have run far enough.
2020-03-14 22:30:41 +01:00
Sönke Ludwig
71a2172edf
Increase directory watcher test sleep time on macOS (decrease on others).
2019-11-23 11:06:16 +01:00
Sönke Ludwig
c717b88057
Increase test timeout tolerance on macOS.
2019-11-02 22:52:56 +01:00
Sönke Ludwig
5116ddbd57
Be more tolerant w.r.t. timing for macOS test due to CI VM timing issues.
2019-11-02 15:41:31 +01:00
Sönke Ludwig
bef1c57315
Allow a single FD to be "leaked" in the TCP connect leak test.
...
On macOS, the kqueue mechanism appears to create an internal FD that wrongly triggers the leak condition.
2019-11-02 14:56:57 +01:00
Sönke Ludwig
c38d181670
Add basic tests for getFileInfo.
2019-08-25 14:09:59 +02:00
Sönke Ludwig
d549829c88
Fix process test.
2019-08-24 10:19:29 +02:00
Sönke Ludwig
3e619560af
Add watchdog and log output to vibe.core.process test.
2019-08-22 21:58:05 +02:00
Leonid Kramer
c39fdb2208
Merge pull request #163 from vibe-d/issue157-empty-consumeOne-on-closed-channel
...
Fix empty-consumeOne channel usage pattern for a single consumer
2019-06-20 09:31:13 +02:00
Sönke Ludwig
19ea38fc72
Add test for #157 .
2019-06-16 23:00:04 +02:00
Sönke Ludwig
41c18aef74
Add test for issue #161 .
2019-06-16 21:30:18 +02:00
Benjamin Schaaf
5f5a831444
Add comment
2019-06-03 10:04:56 +10:00
Benjamin Schaaf
ab26527e7a
Fix compiling tests/vibe.core.process.d for versions < 2080
2019-06-02 22:54:59 +10:00
Benjamin Schaaf
0d4840b81d
Address review comments
2019-06-02 14:42:41 +10:00
Benjamin Schaaf
ea3124778b
Increase timeouts
2019-05-07 10:30:11 +10:00
Benjamin Schaaf
65980326a1
Add timeouts to avoid the compile time effects of rdmd on tests passing
2019-05-05 18:02:26 +10:00
Benjamin Schaaf
c3f5ebb9fd
Implement vibe.core.process for subprocess handling similar to std.process
2019-05-05 15:27:57 +10:00
Sönke Ludwig
cb6a79a86f
Make the test for #115 actually fail if a socket gets leaked.
2019-01-20 11:16:53 +01:00
Sönke Ludwig
00bf61b3b7
Make the test for #115 actually fail if a socket gets leaked.
2019-01-19 15:47:39 +01:00
WebFreak001
9d6b34c73a
release ref on failing connectTCP
...
fix #115
2019-01-09 00:18:43 +01:00
Hiroki Noda
a408aac808
Use monotonic clock for timeout
2018-12-24 06:22:53 +09:00
WebFreak001
c8ab6ae2f8
Make waitForData not assert fail on close fix #110
2018-12-20 02:10:40 +01:00
Sönke Ludwig
9e526194e7
Add test for issue #104 .
2018-11-23 15:51:10 +01:00
Sönke Ludwig
4394374364
Fix race-condition in test case.
...
The wait() call without arguments could miss the initial emit(), if called too late, which could easily happen on VMs with less predictable timing.
2018-10-27 00:44:00 +02:00
Sönke Ludwig
c88964337a
Add test for issue #66 .
2018-03-06 23:39:57 +01:00
Sönke Ludwig
f0bdaa0778
Increase test timeout.
2018-02-23 15:49:49 +01:00
Sönke Ludwig
0ff503afa6
Add test case for #58 .
2018-02-23 01:25:10 +01:00
Sönke Ludwig
aa300d39ca
Increase test delays to accommodate for the polling directory watcher.
2017-12-01 20:32:07 +01:00
Sönke Ludwig
fcf98c2016
Merge branch 'master' into trailing-whitespace
2017-07-19 00:08:33 +02:00
Sönke Ludwig
d7b2173cb3
Implement TCPListener.stopListening and fix the vibe.core.net.1726 test.
...
The test fix follows the fix in the vibe.d repository: rejectedsoftware/vibe.d#f960427e5974c176c58b516647895a2af4ea181b
2017-07-18 11:55:39 +02:00
Sebastian Wilzbach
8f89733a86
Remove all trailing whitespace
...
sed 's/[ \t]*$//' -i **/*.d
2017-07-03 12:19:27 +02:00
Sönke Ludwig
52ead0891f
Add test for rejectedsoftware/vibe.d#1726 .
2017-05-16 09:40:18 +02:00
Dentcho Bankov
aef2936abd
Fix for #11 . Cross port of fix for #1742 from vibe.d
2017-04-15 00:04:08 +03:00
Sönke Ludwig
5a8d5a2fea
Add tests from vibe-d:core.
2017-02-17 00:55:16 +01:00
Sönke Ludwig
99bc332a81
Allow script based tests and fix test package recipes.
2017-02-17 00:49:40 +01:00
Sönke Ludwig
68430a1ea4
Fix file pointer management in FileStream. Fixes rejectedsoftware/vibe.d#1684 .
2017-02-16 23:37:41 +01:00
Sönke Ludwig
9ab0f07b2d
Fix compile error in file test.
2016-12-19 21:57:52 +01:00
Sönke Ludwig
3a9b977dc4
Fix test dependency paths.
2016-10-24 08:37:32 +02:00
Sönke Ludwig
cd3e756dd6
Convert all tests to single-file packages.
2016-10-24 08:32:16 +02:00
Sönke Ludwig
c08f101549
Update for eventcore 0.5.0 and the latest DMD beta.
2016-10-24 08:22:49 +02:00
Sönke Ludwig
5bbf07beb8
Fix FileStream.close and let the file test clean up after itself.
2016-10-06 22:15:25 +02:00
Sönke Ludwig
cf75d968d5
Base FileStream on eventcore.
2016-10-06 22:06:51 +02:00
Sönke Ludwig
051254ace1
Fix test compilation.
2016-06-18 10:00:20 +02:00
Sönke Ludwig
a9905ddcd9
Make the test packages compilable.
2016-06-18 08:19:06 +02:00
Sönke Ludwig
179d93f09d
Add test for issue #1452 .
...
TCP connection should not crash the program if they are closed from within a finalizer. Instead, give a warning if such a class has leaked.
(cherry picked from commit 2c0adbc56170571991781cebf1e3aac1549828ad)
2016-04-10 14:40:39 +02:00