Граф коммитов

28 Коммитов

Автор SHA1 Сообщение Дата
Dean Yasuda 91318ff64d Fix a few more python lint errors. 2015-08-30 22:03:22 -07:00
Dean Yasuda 8be90a9cce Fix some more obvious lint errors in test/*.py. 2015-08-25 22:45:44 -07:00
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 78d5dc67f0 This test is not using zkocc any more. 2015-08-17 08:42:56 -07:00
Alain Jobart f30d704dfb Now using proto Keyspace structure. 2015-08-03 08:44:21 -07:00
Anthony Yeh a0e0ab1631 Add recursive mode to RemoveShardCell command.
Also add RemoveKeyspaceCell command.
2015-07-09 14:53:07 -07:00
Anthony Yeh 578dfbc0af Add recursive mode to DeleteKeyspace and DeleteShard. 2015-07-09 12:20:07 -07:00
Anthony Yeh 0ef4c35a36 Add DeleteKeyspace command in vtctl.
This cleans up global and cell-local topology entries for a keyspace.
It only works if there are no shards left in the keyspace.
Similarly, DeleteShard only works if there are no tablets left in
the shard.
2015-07-08 16:40:43 -07:00
Anthony Yeh 50f3b13610 Deflake keyspace_test.
There's no need to assert that stderr is empty. The run_vtctl()
function will raise a TestError if the command returns an error code.

This check was making the test flaky because sometimes the spawned
process would emit an incidental log message despite succeeding.
2015-06-29 12:50:01 -07:00
Anthony Yeh 682b1bfb94 Make vtctl print human-readable QueryResults.
The values within each row of a QueryResult were being JSON-encoded as
base64 byte arrays for every type. This JSON encoding was only being
used for tests, until the recent addition of vtctl commands that display
JSON-encoded QueryResults.

Now that we are displaying these to humans, we should display the
results as strings instead of as byte arrays.
2015-06-25 14:57:39 -07:00
Alain Jobart a56aff043f Now using the VtGate object in all tests. 2015-06-04 08:37:20 -07:00
Alain Jobart 8fd2ff4ba3 Changing integration tests to use InitShardMaster. 2015-04-02 09:07:41 -07:00
Alain Jobart 9587099e07 Removing db_types from Keyspace, unused now. 2015-03-16 09:14:36 -07:00
Alain Jobart 16807a416e Now using ShardReferences fields in a few places instead of
Shards in the Keyspace.Partitions map.
2015-03-16 08:42:25 -07:00
Anand Henry 593534912d Travis: Fix flaky tests
Make min rdonly instances configurable for vtworker tasks
Remove unnecessary tablets wherever possible
Use lower buffer pool size in MySQL to save memory
Track performance using New Relic
2014-12-22 14:39:01 -08:00
Anthony Yeh 3ee8a59cf1 Make topo server flavor pluggable in integration tests. 2014-11-14 16:37:05 -08:00
Piotr Kufel 4c74829e8c GetSrvKeyspaceNames command test 2014-10-30 13:31:07 -07:00
Anthony Yeh f5b4ada790 Use #!/usr/bin/env python for integration tests. 2014-10-01 16:38:59 -07:00
Liang Guo 6e74b3c806 Update keyspace.py so not depending on shard order 2014-08-12 20:19:52 -07:00
Liang Guo 88075960c8 Fix keyspace_test 2014-08-08 14:11:35 -07:00
Liang Guo b906aad2db Do not use obsolete SrvKeyspace.Shards 2014-08-08 12:16:19 -07:00
Alain Jobart adf580d81b Adding a GetKeyspace command and test. 2014-05-05 16:15:39 -07:00
shrutip 68df33283f Minor fix to the test name. 2014-02-27 16:02:18 -08:00
shrutip efe519e18c New function in keyspace to return shard_name for keyspace_id. 2014-02-27 15:42:55 -08:00
Liang Guo 291b349e1a Update to avoid massive test change 2014-02-27 14:55:29 -08:00
Liang Guo f3a9644776 Add SSL support in VTGate 2014-02-26 15:10:29 -08:00
shrutip 5f56661fca Added keyspace_test and small fixes to keyspace module. 2014-02-20 13:38:44 -08:00