Roger Pack
|
b44d124700
|
add some notes to the tests
|
2009-04-21 15:08:40 +00:00 |
|
Roger Pack
|
d40d8ff323
|
create an automated test, somewhat automated it seems impossible to actually interrupt mysql real_connect
|
2009-04-21 02:17:44 +00:00 |
|
Roger Pack
|
d1433a549e
|
attempt to not blow up on ctrl+c during connect--that might have been a problem
|
2009-04-21 02:13:24 +00:00 |
|
Roger Pack
|
49726a5d80
|
minor cleanup
|
2009-04-18 23:07:30 +00:00 |
|
Roger Pack
|
021cd36670
|
add test runner for all
|
2009-04-18 23:06:12 +00:00 |
|
Roger Pack
|
e14c8b9876
|
share test create db code, add a comment for the rb_thread_blocking_region helper in the C code
|
2009-04-18 22:55:17 +00:00 |
|
Roger Pack
|
f9c62edae3
|
add instructions to the test_all_hashes test
|
2009-04-18 22:50:45 +00:00 |
|
Roger Pack
|
0f14fb920c
|
add an assertion for the out_of_sync_test
|
2009-04-18 22:42:12 +00:00 |
|
Roger Pack
|
0fa6f9f30f
|
remove the require rubygems from test, so that we can have more control over which version is being tested
|
2009-04-18 22:39:12 +00:00 |
|
Roger Pack
|
e4bb045695
|
overcome a merge conflict which wasn't one
|
2009-04-18 22:24:31 +00:00 |
|
Roger Pack
|
497be9ca26
|
Merge branch '19_non_gvl_connect_original'
|
2009-04-18 22:23:17 +00:00 |
|
Aman Gupta
|
bb63b9d78c
|
remove misleading comments from tests
|
2009-01-25 13:00:34 -08:00 |
|
Roger Pack
|
f44f9c6d13
|
update some tests
|
2009-01-12 18:42:46 +00:00 |
|
Roger Pack
|
98373d7b15
|
take out the rb gc for now, until I can merge in Lourens' stuff, and also add a test for multiple queries
|
2009-01-08 06:30:24 +00:00 |
|
Roger Pack
|
d2549f3907
|
remove test output
|
2008-12-20 23:07:21 +00:00 |
|
Roger Pack
|
9f677c3047
|
resolve merge conflicts
|
2008-12-20 23:03:56 +00:00 |
|
Roger Pack
|
9d88487022
|
add test for when a db isn't there
|
2008-12-20 22:59:35 +00:00 |
|
Lourens Naude
|
1af85383eb
|
Applied Roger's async validation patch, with a minimal test case
|
2008-10-19 23:17:42 +01:00 |
|
Lourens Naude
|
e81e145c15
|
Prefer Objects to GC as label
|
2008-10-09 02:13:40 +01:00 |
|
Lourens Naude
|
a9fea270f5
|
Better GC stats
|
2008-10-09 02:01:57 +01:00 |
|
Lourens Naude
|
35d2545c17
|
Selective enable || disable GC for result retrieval with Mysql#disable_gc = true|false
|
2008-10-08 22:11:14 +01:00 |
|
Lourens Naude
|
8e6f300f9d
|
Introduce Mysql#reconnected?
|
2008-10-08 17:09:47 +01:00 |
|
Lourens Naude
|
f57c2a6576
|
Let #c_async_query support a block syntax that yields the result; ensure async in progress is negated by #get_result
|
2008-10-08 05:17:01 +01:00 |
|
Lourens Naude
|
85141abf09
|
Validate async queries
|
2008-10-02 01:56:10 +01:00 |
|
Roger Pack
|
f73ba931ef
|
overcome conflict
|
2008-09-24 11:01:14 -06:00 |
|
Lourens Naude
|
3c5dd38037
|
Extract thread scheduler
|
2008-09-10 01:26:01 +01:00 |
|
Lourens Naude
|
6884d454bc
|
Use TCP_NODELAY if supported; Remove file descriptor ops from the tight loop; Cleanup timeout assignment; Split the threaded test suite in native and c to avoid a large number of active Threads affecting results.Add experimental Mysql#socket_type which typically returns 'socket (x)', but may be helpful for debugging purposes.
|
2008-09-10 00:33:18 +01:00 |
|
Roger Pack
|
02e265072c
|
update the RB_UBF_DL for more recent versions of Ruby 1.9, which doesn't have it
|
2008-09-08 12:39:00 -06:00 |
|
Lourens Naude
|
f077108a69
|
Introduce configureable query overheads and contexts in the test wrapper in preparation for timeout tests.
|
2008-09-08 17:45:00 +01:00 |
|
Lourens Naude
|
ea2965270c
|
Decouple native Ruby Mysql#async_query from the C extension as per Roger's suggestion.Remove no-op c_mysql_query flag for evented tests.
|
2008-09-08 17:27:11 +01:00 |
|
Lourens Naude
|
55411cd9d4
|
Introduce Mysql#blocking?; Set the file drescriptor for all new connections to non blocking; Add tests to the existing evented and threaded runs. ( verified 1.8 && 1.9 )
|
2008-09-08 01:48:47 +01:00 |
|
Lourens Naude
|
26202b3ddb
|
Assume blank password
|
2008-09-06 17:21:36 +01:00 |
|
Lourens Naude
|
70c58ce67a
|
Allow tests to run with either the native Ruby or C based Mysql#async_query
|
2008-09-06 17:17:06 +01:00 |
|
Lourens Naude
|
91d9096b14
|
Extract base klasses for cleaner implementation testing; DRY up existing threaded && evented tests
|
2008-09-06 00:54:48 +01:00 |
|
Lourens Naude
|
58d416e929
|
Experimental build && test tasks
|
2008-09-05 18:23:47 +01:00 |
|
Roger Pack
|
a610530d36
|
demo file for the Result#all_hashes method
|
2008-09-02 11:19:04 -06:00 |
|
Roger Pack
|
b9e2abaa70
|
add a free to the use_result example test
|
2008-08-29 12:26:59 -06:00 |
|
Roger Pack
|
7a0ecc3497
|
add in a test showing how to use async with mysql.use_result
|
2008-08-29 12:24:37 -06:00 |
|
Aman Gupta
|
4fb06ca803
|
clean up threaded test; add simple sequel test
|
2008-08-27 16:11:19 -07:00 |
|
Aman Gupta
|
aa35d6430f
|
clean up async_query/threaded test
|
2008-08-27 14:23:01 -07:00 |
|
oldmoe
|
da40f34362
|
threaded access suppor (working this time)
|
2008-08-27 15:09:39 +03:00 |
|
oldmoe
|
d7e47a3f2d
|
extracted from neverblock-mysql
|
2008-08-27 02:05:20 +03:00 |
|