Dean Yasuda
09a23591a9
Post-merge: fix some simple lint issues on more test/*.py files.
2015-08-25 21:00:52 -07:00
Dean Yasuda
6f1e821634
Make some lint fixes to test/*.py.
2015-08-25 18:54:04 -07:00
Alain Jobart
a2d2b1776d
Adding 'vtctl VtTabletExecute' command, using it in a few places.
...
Also various small cleanups in integration tests.
2015-07-31 11:00:26 -07:00
Alain Jobart
23132e4b50
Fixing this integration test.
2015-07-29 16:00:48 -07:00
Alain Jobart
a56aff043f
Now using the VtGate object in all tests.
2015-06-04 08:37:20 -07:00
Alain Jobart
f5c971f384
Removing vtclient2 specific tests in integration tests.
2015-05-27 16:55:11 -07:00
Shengzhe Yao
5b9d745e08
fix test/sharded.py to not reply on vtctl.ApplySchemaShard
2015-05-13 14:25:43 -07:00
Shengzhe Yao
de3f07fccb
remove simple flag in vtctl.ApplySchema
2015-05-13 11:14:06 -07:00
Alain Jobart
8fd2ff4ba3
Changing integration tests to use InitShardMaster.
2015-04-02 09:07:41 -07:00
Shengzhe Yao
0e740502e4
rename _vtocc, _vts and _mysql in vitess client
2015-01-20 16:33:37 -08:00
Alain Jobart
5bf39ba6bc
Removing more zkocc tests.
2014-12-16 17:47:23 -08:00
Anthony Yeh
3ee8a59cf1
Make topo server flavor pluggable in integration tests.
2014-11-14 16:37:05 -08:00
Anthony Yeh
f5b4ada790
Use #!/usr/bin/env python for integration tests.
2014-10-01 16:38:59 -07:00
Alain Jobart
0216afc87f
Fixing typo, and adding code that was added at the wrong place.
2014-08-22 10:44:02 -07:00
Alain Jobart
05377a6aa7
Adding test glue to run vtctl commands in various ways.
...
Also fixing a few things here and there.
2014-08-22 09:27:06 -07:00
Anthony Yeh
88feb393ec
Global flag injection for integration tests
2014-07-07 12:46:20 -07:00
Alain Jobart
d6df975c90
Refactoring sharded.py test.
...
Changing the client2 library to register more consistent
topo servers, and use the default topo server.
2014-01-28 14:21:34 -08:00
Liang Guo
860b849683
Fix integration tests
2014-01-23 12:18:46 -08:00
Alain Jobart
f6cc294723
Faster tests.
...
Optimizations:
- RebuildKeyspaceGraph rebuilds all the shards, no need to do it.
- start tablets in parallel
- kill tablets in parallel
2014-01-07 13:53:43 -08:00
Alain Jobart
85791a2740
Adding first version of environment.py for tests.
2014-01-02 10:17:38 -08:00
shrutip
81aa7476d5
Renamed tablet3.py and vt_occ2.py, misc other fixes.
2013-08-20 15:16:10 -07:00
Alain Jobart
b6133a1de1
Second part of tes conversion.
2013-08-15 13:52:14 -07:00
Alain Jobart
a888555044
Converting the remaining tests to unittest.
2013-08-14 15:30:57 -07:00
Alain Jobart
8e7842c56e
Making loggin levels consistent in tests.
2013-08-12 18:07:02 -07:00
Alain Jobart
72ba4115f5
Resetting replication at the beginning of tests.
...
So they are more predictable.
2013-08-01 11:16:45 -07:00
Alain Jobart
70bc705e9f
Adding a CreateShard command.
...
Adding a -parent option to InitTablet, so it can then
create the Keyspace and Shard. If no specified, it doesn't
even try to create them. This is more consistent.
2013-07-23 11:01:26 -07:00
Alain Jobart
f468f168ce
Moving tablet and shard to naming. naming is now a bad name.
...
LGTM Ric.
2013-07-17 11:23:12 -07:00
Alain Jobart
18d8b68a06
Another round of conersions to TopologServer. Almost done now.
2013-07-16 10:38:45 -07:00
Alain Jobart
48647c02fb
Another round of cleanup, in client2 mostly. No more zk in naming.
...
LGTM Sugu.
2013-07-12 10:21:21 -07:00
Alain Jobart
8fc04e7082
Now using IP address for mysql replication and reparenting.
...
LGTM Sugu.
2013-07-10 15:00:31 -07:00
Alain Jobart
6a168a7094
More use of TopologyServer.
...
LGTM Sugu.
2013-07-09 18:21:23 -07:00
Alain Jobart
61ca48e285
Another round of conversions to TopologyServer.
...
LGTM Sugu.
2013-07-09 10:39:25 -07:00
Alain Jobart
a1ecdfa5aa
Integrating encryption stuff, adding tests, fixing bugs.
...
LGTM Shruti.
2013-06-17 15:15:33 -07:00
Alain Jobart
e595e37cb7
Checkpoint of some resharding work.
...
LGTM Sugu.
2013-06-17 11:06:39 -07:00
Alain Jobart
a1c656114c
Adding support for SSL python client -> vttablet connections. Not complete yet.
...
LGTM Sugu.
2013-06-12 17:24:59 -07:00
Alain Jobart
22cbdf4320
Adding topology.py and some basic test for it.
...
LGTM Sugu.
2013-06-01 20:36:47 -07:00
Sugu Sougoumarane
3e2283b549
Commiting Mike's work - tablet3
2013-05-31 00:05:53 -07:00
Alain Jobart
2df055b649
Adding code to validate permissions.
...
LGTM Ric.
2013-05-24 17:11:07 -07:00
Alain Jobart
11be267b6b
Adding software version validation.
...
LGTM Ric.
2013-05-24 12:45:07 -07:00
Alain Jobart
d57a1b1236
Porting new python client from google3.
...
LGTM Mike (and he actually wrote the code!)
2013-05-06 09:38:33 -07:00
Alain Jobart
a21e85a48b
Not checking Seconds Behind Master on brutal reparent. Renaming test functions to be accurate.
...
LGTM Mike.
2013-04-23 13:42:38 -07:00
Alain Jobart
03baf834ec
Now finding the shard start and end from shard Id if it contains a '-'.
...
LGTM Mike.
2013-04-15 13:28:14 -07:00
Alain Jobart
ed3542c229
Now all these tests use configurable ports.
...
LGTM Ric.
2013-04-12 13:44:56 -07:00
Sugu Sougoumarane
0f8c973c25
Revamp go client to comply to a new API. Add keyspace_id validation to vttablet.
2013-04-10 13:15:30 -07:00
Alain Jobart
70edca1d4a
Fixing this test, upper case now.
2013-04-05 20:45:55 -07:00
Alain Jobart
62d8171e53
Replacing:
...
not 'aa' in var
with:
'aa' not in var
in tests.
2013-03-22 11:34:09 -07:00
Alain Jobart
0d8e5008a5
Fixing the unit tests to use "..." in "..." instead of find.
2013-03-13 11:50:00 -07:00
Alain Jobart
02b73fb089
Various sharding fixes.
...
LGTM Mike.
2013-03-11 15:34:19 -07:00
Alain Jobart
b3e7fa6da6
Adding KeyRange to GetSessionId, and enforcing correct values on
...
the tabletserver side.
LGTM Mike & Sugu.
2013-03-11 11:53:08 -07:00
Alain Jobart
a3e404097d
Supporting wildcards for RebuildShardGraph and RebuildKeyspaceGraph.
...
LGTM Mike.
2013-03-07 15:21:58 -08:00