Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Introduce new fixtures to prepare for migration to pytest. | Andre Araujo | 2018-02-21 | 1 | -2/+1 |
| | | | | | | | This commits adds new pytest fixtures in prepation for the migration of unittest.TestCases to pytest test cases. The handling of temporary dir creation was also changed so that we can use the pytest tmpdir fixture after the migration. | ||||
* | Minor Exception cleanup | Jeff Widman | 2017-12-12 | 1 | -1/+1 |
| | |||||
* | Fix typos | Jeff Widman | 2016-11-14 | 1 | -1/+1 |
| | |||||
* | Speedup some failover tests w/ shorter SimpleClient timeout | Dana Powers | 2016-04-08 | 1 | -1/+1 |
| | |||||
* | Catch more producer exceptions in failover tests | Dana Powers | 2016-04-06 | 1 | -3/+6 |
| | |||||
* | Update imports from kafka.common -> kafka.errors / kafka.structs | Dana Powers | 2016-04-05 | 1 | -3/+3 |
| | |||||
* | Support setting kafka instance port explicitly in fixture | Dana Powers | 2016-02-15 | 1 | -2/+5 |
| | |||||
* | Merge branch '0.9' | Dana Powers | 2016-01-07 | 1 | -8/+9 |
|\ | | | | | | | | | | | | | | | Conflicts: kafka/codec.py kafka/version.py test/test_producer.py test/test_producer_integration.py | ||||
| * | Fix KafkaClient->SimpleClient references0.9 | Dana Powers | 2016-01-07 | 1 | -3/+3 |
| | | |||||
| * | Use 2-second KafkaClient timeout in failover tests | Dana Powers | 2016-01-03 | 1 | -1/+1 |
| | | |||||
| * | Catch and retry on RequestTimedOutError in producer failover test | Dana Powers | 2015-12-29 | 1 | -2/+4 |
| | | |||||
| * | Rename TopicAndPartition -> TopicPartition | Dana Powers | 2015-12-28 | 1 | -2/+2 |
| | | |||||
| * | Drop kafka_bytestring | Dana Powers | 2015-12-10 | 1 | -3/+2 |
| | | |||||
* | | Retry on FailedPayloadsError from consumer.pending() in failover tests | Dana Powers | 2015-12-18 | 1 | -4/+5 |
| | | |||||
* | | Refactor kafka_versions to support arbitrary operators (> >= < <= ! =)kafka_version_tests | Dana Powers | 2015-12-10 | 1 | -8/+2 |
|/ | |||||
* | Use at_least=True when counting messages in leader failover tests | Dana Powers | 2015-06-10 | 1 | -1/+4 |
| | |||||
* | Retry failed messages in failover integration tests; use module logger | Dana Powers | 2015-06-10 | 1 | -12/+17 |
| | |||||
* | Test failover integration with 3-brokers / replicas / partitions | Dana Powers | 2015-06-09 | 1 | -3/+3 |
| | |||||
* | Produce messages to both partitions in async producer leader switch test | Dana Powers | 2015-06-08 | 1 | -1/+9 |
| | |||||
* | Import style nits in integration tests | Dana Powers | 2015-06-08 | 1 | -2/+1 |
| | |||||
* | try to fix uncaught FailedPayloadsError | reAsOn2010 | 2015-06-09 | 1 | -0/+8 |
| | |||||
* | Encode random_message strings to bytes in test_failover_integration | Dana Powers | 2015-06-06 | 1 | -1/+2 |
| | |||||
* | Sleep for 500ms before retrying consumer pending call in tests | Dana Powers | 2015-06-06 | 1 | -0/+1 |
| | |||||
* | Include message number in sent message value in _send_random_message | Dana Powers | 2015-06-06 | 1 | -1/+1 |
| | |||||
* | add option to check for at-least-once message delivery in failover tests | Dana Powers | 2015-06-06 | 1 | -6/+12 |
| | |||||
* | Reenable test_switch_leader_async | Dana Powers | 2015-06-06 | 1 | -7/+13 |
| | |||||
* | random_string helper should return str not bytes | Dana Powers | 2015-06-06 | 1 | -7/+7 |
| | |||||
* | Make external API consistently support python3 strings for topic. | Space | 2015-04-03 | 1 | -2/+3 |
| | |||||
* | Fetch previously committed offsets in base consumer class so long as | Dana Powers | 2015-03-30 | 1 | -1/+1 |
| | | | | | | | | a group is configured (but document that group must be None for old servers). This fixes multiprocessor consumer issue that prevented access to commit offsets if auto_commit is disabled. Also refactor fetch_last_known_offsets based on KafkaConsumer While still setting unknown offsets to 0 | ||||
* | Add more comments to test_switch_leader regarding req_acks policy | Dana Powers | 2015-02-09 | 1 | -3/+10 |
| | |||||
* | Write a test for issue 313 - keyed producer failover | Dana Powers | 2015-02-09 | 1 | -0/+40 |
| | |||||
* | use setUp / tearDown to rebuild fixtures for each test in ↵ | Dana Powers | 2015-02-09 | 1 | -12/+12 |
| | | | | test_failover_integration | ||||
* | Merge conflict w/ assertEqual (assertEquals deprecated) | Dana Powers | 2014-12-15 | 1 | -1/+1 |
| | |||||
* | Separate consumers/producers/partitioners | Dana Powers | 2014-09-10 | 1 | -1/+1 |
| | |||||
* | Merge pull request #227 from wizzat-feature/py3 | Dana Powers | 2014-09-07 | 1 | -3/+4 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3 Support Conflicts: kafka/producer.py test/test_client.py test/test_client_integration.py test/test_codec.py test/test_consumer.py test/test_consumer_integration.py test/test_failover_integration.py test/test_producer.py test/test_producer_integration.py test/test_protocol.py test/test_util.py | ||||
| * | Fix more tests, only multiprocessing consumer ones remaining | Bruno Renié | 2014-09-03 | 1 | -1/+1 |
| | | |||||
| * | Make all unit tests pass on py3.3/3.4 | Bruno Renié | 2014-09-03 | 1 | -2/+2 |
| | | |||||
| * | Use base unittest or unittest2 depending on python version | Bruno Renié | 2014-09-03 | 1 | -2/+2 |
| | | |||||
* | | Cleanup tests: no more import *; remove unused | Dana Powers | 2014-09-04 | 1 | -7/+4 |
| | | |||||
* | | Another attempt to fix failover test flapping | Dana Powers | 2014-09-04 | 1 | -16/+23 |
| | | |||||
* | | Import cleanups in tests | Dana Powers | 2014-09-04 | 1 | -4/+7 |
|/ | |||||
* | just fixing a silly except formatting mistake | Zack Dever | 2014-08-29 | 1 | -1/+1 |
| | |||||
* | Fixup producer failover tests to avoid consumer message count flap | Dana Powers | 2014-08-27 | 1 | -7/+8 |
| | | | | | check message counts via consumer.pending() (OffsetRequest) rather than relying on consumer message iterator (FetchRequest) | ||||
* | Improve leader failover tests; note that async produce failover is broken -- ↵ | Dana Powers | 2014-08-26 | 1 | -45/+67 |
| | | | | so skip that test for now | ||||
* | Fix Python 2.6 support | Mark Roberts | 2014-04-23 | 1 | -1/+0 |
| | |||||
* | Split out kafka version environments, default tox no longer runs any ↵ | Mark Roberts | 2014-04-23 | 1 | -2/+10 |
| | | | | integration tests, make skipped integration also skip setupClass, implement rudimentary offset support in consumer.py | ||||
* | Add test support for multiple versions of kafka. Uncomment first 0.8.1 ↵ | Mark Roberts | 2014-04-23 | 1 | -2/+2 |
| | | | | specific test. Add rudimentary (failing) consumer resumption test | ||||
* | Finish breaking out integration tests | Mark Roberts | 2014-04-17 | 1 | -0/+116 |