vitess-gh/test
Michael Berlin a2a0d900ca worker: Resolve destination master using the discovery module.
- Removed previous Resolver interface and respective implementations.
- Removed respective stat vars and flags (--resolve_ttl).

- Added unit test for case where vtworker fails over to a different replica.
- Added unit test for case when healthcheck retries because currently no master is available.
- Extended FakePoolConnection to support these tests:
  - can define callback (AfterFunc) when expected query was received
  - infinite mode where the last request may be received over and over again

- discovery: Introduce DefaultTopoReadConcurrency to avoid duplication.
- discovery: Added EndPointStats.Alias() to avoid duplication.
- discovery: Added EndPointStats.String() to have pretty printed arrays.

Adapted end-to-end tests:
- binlog.py, merge_sharding.py, resharding.py: Enabled healthcheck for master tablets.
- worker.py: Updated stat vars check
2016-04-29 22:58:00 -07:00
..
end2end e2e/k8s: Use absolute paths for running vitess-up.sh. 2016-04-04 16:40:01 -07:00
topo_flavor Update vtgatev2 test to better support testing gateway implementations. 2015-12-16 15:05:17 -08:00
vtgate_gateway_flavor Update vtgatev2 test to better support testing gateway implementations. 2015-12-16 15:05:17 -08:00
vttest_schema/test_keyspace Adding integration test for vttest. 2015-08-25 16:20:23 -07:00
TestingStrategy.md Removing direct tablet access from python. 2015-10-13 07:41:58 -07:00
automation_horizontal_resharding.py test/automation_horizontal_resharding.py: Add work-around to make pylint happy. 2016-03-24 22:51:32 +01:00
automation_vertical_split.py test/automation_vertical_split.py: Clarify why unittest import is unused. 2016-01-12 11:14:53 -08:00
backup.py Use semi-sync in integration tests. 2016-02-24 18:08:12 -08:00
base_sharding.py factoring out more test code for resharding. 2016-04-14 10:56:39 -07:00
binlog.py worker: Resolve destination master using the discovery module. 2016-04-29 22:58:00 -07:00
config.json Adding a db merge end to end test. 2016-04-13 09:29:45 -07:00
custom_sharding.py Changing python client bind variable style from pyformat to named. 2016-03-03 12:19:59 -08:00
encrypted_replication.py Adding preliminary support for TLS for gRPC. 2016-04-05 07:43:22 -07:00
encrypted_transport.py Fixing lint warning. 2016-04-05 07:43:22 -07:00
environment.py Don't need to prefix builds with godep anymore. 2016-04-06 14:52:31 -07:00
grpc_protocols_flavor.py Removing all non-go references to bson or gorpc. 2016-03-16 09:35:22 -07:00
initial_sharding.py Removing a source of flakiness in initial_sharding. 2016-04-14 13:48:54 -07:00
initial_sharding_bytes.py Use pylint test-mode for fiels in test/. 2015-11-05 16:55:30 -08:00
keyrange_test.py test: Fix all pylint issues in keyrange_test.py. 2015-11-16 15:24:08 -08:00
keyspace_test.py Fix integration tests for discoverygateway. 2016-03-02 16:48:21 -08:00
keyspace_util.py Fix integration tests for discoverygateway. 2016-03-02 16:48:21 -08:00
local_example.sh Switch tests and examples to vtgate discoverygateway. 2016-03-02 16:48:21 -08:00
master_buffering_test.py Removing a source of flakiness in initial_sharding. 2016-04-14 13:48:54 -07:00
merge_sharding.py worker: Resolve destination master using the discovery module. 2016-04-29 22:58:00 -07:00
merge_sharding_bytes.py Adding a db merge end to end test. 2016-04-13 09:29:45 -07:00
mysql_flavor.py Fixes for new semi-sync handling. 2016-02-27 03:22:54 -08:00
mysqlctl.py Use semi-sync in integration tests. 2016-02-24 18:08:12 -08:00
protocols_flavor.py Using a new method in protocols_flavor for types. 2016-03-16 07:35:00 -07:00
python_client_test.py Removing SHARD_ZERO constant. 2016-03-18 10:59:04 -07:00
reparent.py Use semi-sync in integration tests. 2016-02-24 18:08:12 -08:00
resharding.py worker: Resolve destination master using the discovery module. 2016-04-29 22:58:00 -07:00
resharding_bytes.py Use pylint test-mode for fiels in test/. 2015-11-05 16:55:30 -08:00
rowcache_invalidator.py Merge pull request #1521 from enisoc/semisync 2016-02-25 15:54:04 -08:00
schema.py Merge pull request #1521 from enisoc/semisync 2016-02-25 15:54:04 -08:00
sharded.py Fixing a few tests that were using GetSessionId. 2016-04-26 10:36:16 -07:00
sql_builder_test.py Revert sql_builder.TupleCompare to use AND/ORs. 2016-02-08 13:59:40 -08:00
tablet.py Fixing a few tests that were using GetSessionId. 2016-04-26 10:36:16 -07:00
tabletmanager.py healthcheck: Add IgnoreHealthError command. 2016-03-07 17:33:28 -08:00
update_stream.py test/utils: Close grpc connections even with --skip-teardown. 2016-02-17 18:01:26 -08:00
utils.py worker: Resolve destination master using the discovery module. 2016-04-29 22:58:00 -07:00
vertical_split.py Fixing a few tests that were using GetSessionId. 2016-04-26 10:36:16 -07:00
vtctld_test.py Merge pull request #1521 from enisoc/semisync 2016-02-25 15:54:04 -08:00
vtgate_utils_test.py Removing go rpc python clients. 2016-03-16 09:15:57 -07:00
vtgatev2_test.py Removing a source of flakiness in initial_sharding. 2016-04-14 13:48:54 -07:00
vtgatev3_test.py v3: support sqltypes.Value for string vindexes 2016-04-27 15:17:19 -07:00
vthook-test.sh Using the new TopologyServer in a lot more places. 2013-07-03 17:05:30 -07:00
vttest_sample_test.py Changing python client bind variable style from pyformat to named. 2016-03-03 12:19:59 -08:00
worker.py worker: Resolve destination master using the discovery module. 2016-04-29 22:58:00 -07:00