summaryrefslogtreecommitdiff
path: root/test/fixtures.py
Commit message (Collapse)AuthorAgeFilesLines
* Attempt to add ssl support to kafka fixturesssl_supportDana Powers2016-04-091-4/+10
|
* Re-render fixture config in restart loop if necessaryDana Powers2016-03-141-0/+10
|
* More fixture logging improvementsDana Powers2016-03-141-7/+8
| | | | | | | | - Add test logging NullHandler - Remove default logging level filtering in testutil - Log render_template info - More fixture logging cleanups - wait_for() should not handle child shutdown
* Fixup test fixtures for pylintDana Powers2016-03-131-1/+10
|
* Improve Fixture loggingDana Powers2016-03-131-3/+7
| | | | | | | - remove double console appenders from log4j.properties - also log to server.log file for interactive uses - drop internal _spawn from SpawnedService loop - write captured stdout/stderr directly to avoid logger re-formatting
* Sync rendered fixture templates to disk to avoid racesDana Powers2016-03-121-0/+8
|
* Improve Zookeeper / Kafka Fixture managementDana Powers2016-03-121-4/+21
| | | | | | - spawn fixtures via daemon threads - close fixtures atexit and in __del__ to avoid interpreter hangs - raise Exception on timeouts in open()
* Support setting kafka instance port explicitly in fixtureDana Powers2016-02-151-3/+7
|
* Move pytest broker/zk fixtures to test.conftestDana Powers2016-01-241-1/+2
|
* pylint fixesDana Powers2015-12-101-1/+1
| | | | | | - temporarily ignore kafka/consumer/group.py - temporarily ignore test/test_protocol.py - disable-msg deprecated; use disable= instead
* new pylint disables for pylint 1.5.1Zack Dever2015-12-021-1/+1
| | | | | tested locally with `pylint --rcfile=pylint.rc -E kafka test`. should pass travis builds.
* Increase timeout and backoff when retrying spawn of test fixturesDana Powers2015-06-111-2/+16
|
* Create a new child thread on each open fixture tryDana Powers2015-06-091-6/+7
|
* Retry with shorter 5sec timeout when trying to open() fixturesDana Powers2015-06-081-4/+10
| | | | | - this is intended to reduce flapping tests caused by intermittent - fixture startup issues on travis-ci
* Module loggers in test/fixtures and test/serviceDana Powers2015-06-061-19/+23
|
* Change ZookeeperFixture wait_for regex to support newer zk version used with ↵Dana Powers2015-01-141-1/+1
| | | | 0.8.2.0
* Fix KafkaFixture child stdout / stderr captureDana Powers2015-01-141-2/+2
|
* Make all unit tests pass on py3.3/3.4Bruno Renié2014-09-031-5/+5
|
* Add pylint to tox.ini; test both kafka and test; default to error-checking ↵Dana Powers2014-08-251-27/+22
| | | | only; fixup errors; skip kafka/queue.py
* Add kafka 0.8.1.1 to integration tests.Dana Powers2014-08-131-15/+0
| | | | | | - previous 0.8.1 src appears to have actually been 0.8.1.1 based on git submodule commit. So technically this adds back 0.8.1 to the test suite.
* Use kafka_run_class_env() to set environment vars in test fixturesDana Powers2014-08-121-16/+14
|
* Download official binaries from apache.org for integration testsDana Powers2014-08-121-1/+5
|
* Add Fixtures.download_official_distribution to get binaries from apache.orgDana Powers2014-08-121-0/+39
|
* Attempt to fix travis build. Decrease complexity of service.py in favor of ↵Mark Roberts2014-05-061-4/+0
| | | | in memory logging. Address code review concerns
* Add test support for multiple versions of kafka. Uncomment first 0.8.1 ↵Mark Roberts2014-04-231-2/+2
| | | | specific test. Add rudimentary (failing) consumer resumption test
* Add support for kafka 0.8.1Mark Roberts2014-04-231-1/+5
|
* Move kafka-src to servers/0.8.0/kafka-src, move test/resources to ↵Mark Roberts2014-04-231-3/+4
| | | | servers/0.8.0/resources, update fixtures, add build_integration.sh for getting started with development
* Update fixtures to eliminate extraneous logging on non-errors, split out ↵Mark Roberts2014-04-221-215/+85
| | | | mostly unrelated service.py, fix test in client_integration to use get_open_port, fix unintended import cascade in test_producer_integration
* Some cleanup and easier to read test fixture outputOmar Ghishan2014-01-071-4/+4
|
* Add object type and ID to message prefix in fixtures output for easier debuggingOmar Ghishan2014-01-061-15/+21
|
* Handle starting/stopping Kafka brokers that are already started/stopped in ↵Omar Ghishan2014-01-061-0/+11
| | | | | | | integration tests If some of the tests stop brokers then error out, the teardown method will try to close the same brokers and fail. This change allows it to continue.
* Set host and port in ExternalService test fixtureDavid Arthur2013-11-111-0/+2
| | | | | So we can run tests against an already running Kafka instance KAFKA_URI=tcp://localhost:9092 python -m test.test_integration
* make changes to be more fault tolerant: clean up connections, brokers, ↵Jim Lim2013-10-041-10/+15
| | | | | | | | failed_messages - add integration tests for sync producer - add integration tests for async producer w. leadership election - use log.exception
* Cherry-pick mrtheb/kafka-python 8b9c7e51mrtheb2013-10-031-11/+6
| | | | | | | | | Sync tests and fixtures with kafka 0.8.0-beta1 tag Conflicts: README.md kafka-src
* Use 127.0.0.1 instead of localhostIvan Pouzyrevsky2013-06-071-1/+1
| | | | This alleviates IPv4 -vs- IPv6 issues in ZK and Kafka.
* toxify all the tests and use xfail marksIvan Pouzyrevsky2013-06-071-20/+31
|
* Split fixtures out to a separate fileIvan Pouzyrevsky2013-06-071-0/+314