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

47 Коммитов

Автор SHA1 Сообщение Дата
Liang Guo c46876c48e Add the option in test/environment.py for lameduck flag. 2016-06-03 10:11:52 -07:00
Sugu Sougoumarane 5451013dd0 tabletserver: disable rowcache (just the flags)
This is the first step of deprecating rowcache. We just
remove the command line flags for now. In the next steps
we'll start deleting code and associated tests.
2016-05-28 16:13:33 -07:00
Liang Guo c48d330697 Remove shardgateway from integration tests. 2016-05-05 15:16:13 -07:00
Anthony Yeh 6c224a8dd9 Don't need to prefix builds with godep anymore.
Thanks to native vendoring support in Go 1.5+.
2016-04-06 14:52:31 -07:00
Alain Jobart ff1f13bfa5 Switching all end2end tests to gRPC.
Removing gorpc protocols flavor.
2016-03-16 08:43:31 -07:00
Alain Jobart 943542948b Re-organizing the imports in the tests.
So we can switch to explicit registration, instead of having modules
register themselves, which is not very pythonic.
2015-12-28 08:23:00 -08:00
Liang Guo ea4a13ef4a Implement vtgate gateway flavors as separate option, and various updates. 2015-12-01 15:09:27 -08:00
Liang Guo 5c88974e3e Update Discovery Gateway and make vtgatev2_test pass.
Fix many pylint errors.
2015-11-30 21:14:21 -08:00
Alain Jobart eb99e38778 Couple changes to make run_local_database more portable. 2015-08-26 07:56:47 -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 cdf3a7bb2f Adding utils.py option to skip builds, using it in the Makefile
(after adding a rule to build before tests).

Global build takes about 2s to build all binaries, and it saves
about 4s in one run of mysqlctl.py, so it's gonna be good!
2015-08-21 09:51:08 -07:00
Alain Jobart 0af6de8515 Splitting out protocol flavors for integration tests. 2015-07-15 10:48:06 -07:00
Anthony Yeh 0474326674 Split main() in tests into two parts.
So that one part can be replaced on import.
2015-01-29 23:40:33 -08:00
Anthony Yeh 925f4548aa Use godep for prog_compile in tests. 2015-01-28 21:32:31 -08:00
Anthony Yeh ba8b31099f Don't let users try to build/test as root.
It doesn't work anyway because memcached will quit if it sees that it's
running as root, and mysqld will try to switch to its own 'mysql' user.
2015-01-07 13:23:03 -08:00
Anthony Yeh 9145994e53 Implement etcd flavor for TopoServer. 2014-12-12 17:03:13 -08:00
Alain Jobart 819c080383 Making rpc_timeout_message part of the protocols_flavor object.
Since it depends on the protocol, really.
2014-11-18 07:09:11 -08:00
Wang Jing 9f87cdba16 add logging.debug to enviroment.run to print debug info 2014-11-17 17:16:46 +08:00
Anthony Yeh 3ee8a59cf1 Make topo server flavor pluggable in integration tests. 2014-11-14 16:37:05 -08:00
Alain Jobart 1c61f4da56 Making the test protocols easier to select with a command line parameter.
(based on mysql_flavor stuff).
2014-11-13 08:42:16 -08:00
Anthony Yeh 96fc67ba2c Add --keep-logs option to integration tests. 2014-10-06 15:03:33 -07:00
Anthony Yeh f5b4ada790 Use #!/usr/bin/env python for integration tests. 2014-10-01 16:38:59 -07:00
Alain Jobart fbf0a48662 Various test fixes. 2014-09-26 15:14:57 -07:00
Anthony Yeh 795c7fddef Add --mysql-flavor flag to integration tests. 2014-09-09 00:28:49 -07:00
Anthony Yeh daa74c9446 Use pre-installed MariaDB instead of downloading it. 2014-08-28 14:35:51 -07:00
Alain Jobart 7120c70383 Workaround for unknown bug in reparent.
It needs to be fixed, but until then, using old vtctl way
instead of RPC. And misc cleanup.
2014-08-25 09:08:31 -07:00
Alain Jobart 3a90117fab Adding vtctl python gorpc client, and tests. 2014-08-20 22:50:34 -07:00
Anthony Yeh 88feb393ec Global flag injection for integration tests 2014-07-07 12:46:20 -07:00
Mike Solomon 65674504b7 Keep normal output quiet, but make failures more verbose to aid debugging.
Codify some assumptions on external environment variables.
2014-04-17 10:33:33 -07:00
Alain Jobart 7548f34c38 Fixing mysql_binary_path. 2014-04-08 14:39:11 -07:00
Ryszard Szopa 530dd6c7b6 Make the vtocc queryservice test more explicit about its depeendencies. 2014-04-04 16:32:30 -07:00
Ryszard Szopa e2caa1cdcb Add url to flush logs to test environment module. 2014-04-04 14:51:37 -07:00
Ryszard Szopa 384bb56549 Simplify queryservice tests. 2014-04-03 18:13:03 -07:00
Alain Jobart 8302b2ae94 First pass at MariaDB support.
test/tabletmanager.py passes!
It's enabled by setting MYSQL_FLAVOR=MariaDB before anything.
2014-04-02 14:52:07 -07:00
Ryszard Szopa be88d3618f Add integration tests for /debug/status. 2014-03-11 18:07:00 -07:00
Alain Jobart c23d0e4917 Moving test flags to utils.
So we can have tests run with other flags if needed.
2014-02-24 10:41:09 -08:00
Alain Jobart f738d5ffc0 Now the client2 library uses tabletconn.
Same as vtgate. Code re-use, woohoo!
2014-01-28 17:14:09 -08:00
Alain Jobart c71c5a1b33 Moving client side of queryservice to its own lib. 2014-01-28 16:26:45 -08:00
Alain Jobart b2adf4067e Making binlog_player_protocol flags part of env 2014-01-27 12:57:09 -08:00
Alain Jobart 43d50c42f0 Configure vtgate -> vttablet protocol in env. 2014-01-09 19:56:56 -08:00
Alain Jobart 360ded3c07 Use a separate variable for logs in tests. 2014-01-07 21:09:43 -08:00
Alain Jobart c685aaf243 Fixing tabletmanager.py. 2014-01-06 16:33:41 -08:00
Alain Jobart a5b0ae3501 Adding 'vtctl GetSrvKeyspace' and 'GetSrvShard'.
Using GetSrvKeyspace in resharding test instead of zk call.
2014-01-02 14:29:58 -08:00
Alain Jobart 62772845f8 Small fixes. 2014-01-02 11:43:38 -08:00
Alain Jobart 2266113980 Moving generic topo server to environment. 2014-01-02 11:31:36 -08:00
Alain Jobart 85791a2740 Adding first version of environment.py for tests. 2014-01-02 10:17:38 -08:00