Commit Graph

9 Commits

Author SHA1 Message Date
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
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
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
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