Commit Graph

41 Commits

Author SHA1 Message Date
Magnus Edenhill ded2f27b6a Test synch fix 2014-08-25 15:27:09 +02:00
Magnus Edenhill c52ac9f563 Dynamic topic naming in unit-tests 2014-08-25 15:26:58 +02:00
Magnus Edenhill f2509e301e Allow Conf object reuse in C++ interface 2014-08-02 10:50:24 +02:00
Magnus Edenhill 977f3b2ce1 Added produce->consume test (produce batch, consumer queues, TAIL) 2014-07-30 23:32:20 +02:00
Magnus Edenhill c41b8a34f0 Added "unique" test ids for message validation 2014-07-30 23:32:20 +02:00
Magnus Edenhill 26b86f7c04 Added rd_kafka_produce_batch() (issue #112)
This is a high performance interface for enqueuing multiple messages
in one go.
2014-05-09 12:38:52 +02:00
Magnus Edenhill 2ff094c124 Increase test timeout for 0004-conf 2014-04-14 22:43:18 +02:00
Magnus Edenhill 3e6fb3811a Renamed `enforce.required.acks` to `enforce.isr.cnt` (issue #91)
This makes it more versatile.
2014-04-06 11:45:39 +07:00
Magnus Edenhill 4a0aeaeb4f Test case for `enforce.required.acks` (issue #91) 2014-04-05 22:10:14 +07:00
Magnus Edenhill 6c6257fc3f Updated symbols test with new metadata symbols 2014-03-26 23:51:44 +07:00
Magnus Edenhill 5da9fa3339 Additional valgrind suppressions 2014-03-26 23:47:23 +07:00
Magnus Edenhill 8388e25526 Integrated mklove configure 2014-03-16 14:38:19 +07:00
Magnus Edenhill e48005eb21 Added socket_cb and open_cb config properties (issue #77)
Allows racefree CLOEXEC implementations on non-Linux platforms.
2014-02-11 21:24:07 +07:00
Magnus Edenhill 77533da370 Updated symbols test with new symbols 2014-02-09 23:29:21 +07:00
Magnus Edenhill 895be8f818 Proper description for 0008-reqacks test 2014-02-08 15:10:22 +07:00
Magnus Edenhill 79e66397aa Renamed request.required.acks test 2014-02-08 13:21:38 +07:00
Magnus Edenhill 08fb55d864 Added test for request.required.acks (-1,0,1,2) (issue #75) 2014-02-08 12:48:19 +07:00
Magnus Edenhill 0f9e3c54ab Only print test random seed on test failure 2014-02-08 12:47:30 +07:00
Magnus Edenhill fddf27fdf1 Added symbol test 2014-02-05 13:20:56 +07:00
Magnus Edenhill ef4c28c51d Link tests dynamically 2014-02-05 13:20:28 +07:00
Magnus Edenhill 19cee5a4e2 Better test cleanup 2014-01-26 00:06:59 +07:00
Magnus Edenhill a2bfffe541 Immediate failure on unknown topic (issue #39) and fixed out-of-order problem for produced messages.
rd_kafka_produce() will now return -1 and set errno to ENOENT when
the topic is unknown in the cluster, and the DR callback will use
new error code RD_KAFKA_RESP_ERR__UNKNOWN_TOPIC to indicte the same.

This also fixes an issue where messages could be produced out of order
during initial broker setup in some circumstances.
2014-01-26 00:06:27 +07:00
Magnus Edenhill 651707db3d Test framework fixes and doc 2014-01-25 23:56:49 +07:00
Magnus Edenhill 0b08c51a8f Test framework provides random seed 2014-01-25 23:48:39 +07:00
Magnus Edenhill 644d8683dc Whitespace fixups 2014-01-25 23:36:38 +07:00
Magnus Edenhill 9fcc463dd1 Added configuration tests 2014-01-16 11:49:54 +07:00
Magnus Edenhill 340868a0f6 Remove SIGPIPE handlers, no longer needed. 2014-01-16 11:49:28 +07:00
Diederik van Liere 975caa0234 Use cross-platform compatible shell color codes. 2014-01-09 22:22:29 +01:00
Magnus Edenhill 730b155037 Disable valgrind tests 2014-01-09 00:36:20 +01:00
Magnus Edenhill a4b4b66579 Changed msgtimeout test to unknown partition test (issue #39)
The way msgtimeout test was implemented will not work any more with
the fix for issue #39
2014-01-05 00:25:52 +01:00
Magnus Edenhill 7632484bb4 0003-msgmaxsize: test case for message sizes (issue #24) 2013-11-08 10:45:47 +01:00
Magnus Edenhill 49dab0511f Regression tests: honor TEST_LEVEL env variable 2013-10-22 14:01:05 +02:00
Magnus Edenhill f0dd3b1939 Regression test results are now color coded 2013-10-22 14:00:13 +02:00
Magnus Edenhill ad6d46a0f2 Less noisy 0001 test 2013-10-22 13:59:55 +02:00
Magnus Edenhill 843aaa0969 Fixed uninitialized variable warning 2013-10-08 19:10:32 +02:00
Magnus Edenhill befc510817 Tests now wait for exit properly. 2013-10-04 00:28:24 +02:00
Magnus Edenhill 0a9258805d Removed 'rk' argument from rd_kafka_err2str() 2013-10-04 00:28:24 +02:00
Magnus Edenhill f26259084d Finalized configuration property framework.
- rd_kafka_*conf_t structs are now private.
- Use rd_kafka_*conf_set() to populate.
- Each property is now properly documented in CONFIGURE.md (autogenerated)
2013-10-04 00:28:24 +02:00
Magnus Edenhill 887f5c330b Proper timeouts for produced messages (issue #21)
Timeout msgs regardless of partition (real or UA).
Added testcase for message timeouts.
2013-10-04 00:28:23 +02:00
Magnus Edenhill 68a6d52dbe Added regression test for issue #20 2013-09-22 22:44:56 +02:00
Magnus Edenhill ce321f8012 Added regression test harness 2013-09-22 22:44:27 +02:00