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

14 Коммитов

Автор SHA1 Сообщение Дата
Anthony Yeh 44d10d40c4 Use semi-sync in integration tests.
Some tests had to be modified to not assume that masters without
replicas will still accept writes. Also, some tests would create tablets
as SPARE without enabling healthcheck. As a result, the tablet has no
way of knowing whether it will eventually be a replica or rdonly, and
hence can't decide whether to enable semi-sync before starting
replication.

Healthcheck is basically required now, and definitely will be once we
fully switch to vtgate discovery mode. So I've removed cases where
tablets were being started SPARE without enabling healthcheck.
2016-02-24 18:08:12 -08:00
Anthony Yeh 59cd68f07d test/utils: Close grpc connections even with --skip-teardown.
We can't skip closing of grpc connections, or else the Python
interpreter will never exit.
2016-02-17 18:01:26 -08:00
Michael Berlin 9f4b274da2 test: Fix pylint issues in backup.py, reparent.py and
rowcache_invalidator.py.
2015-11-15 18:21:02 -08:00
Michael Berlin 8edf07d511 test: Remove invocations of vtgate where it's (no longer?) necessary. 2015-11-15 18:08:57 -08:00
Dean Yasuda b6a7a01efe Use pylint test-mode for fiels in test/.
Clean some obvious pylint errors in test dir.
2015-11-05 16:55:30 -08:00
Alain Jobart 4954056bdd Fixing a bunch of linter errors. 2015-10-23 07:12:49 -07:00
Anthony Yeh 19cfae8351 backup: Date should be first in backup name.
We assume the latest backup is the one that's at the end when the list
of directories is sorted. This assumption is violated if we put the
tablet alias first in the name.
2015-10-20 21:03:30 -07:00
Alain Jobart 50a1db7040 Deflaking this test: if table creation takes time to
propagate through replication, we were raising an exception.
2015-10-20 08:36:16 -07:00
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 6f1e821634 Make some lint fixes to test/*.py. 2015-08-25 18:54:04 -07:00
Alain Jobart fec083cfce Add vtctl ListBackups and RemoveBackup commands, and tests. 2015-05-19 13:50:41 -07:00
Alain Jobart 715c3fcddc Adding restore code to vttablet start. 2015-05-19 11:35:52 -07:00
Alain Jobart 60fc388dbf Implementation of the backup core functionnality.
New integration test only tests the backup appears to work,
nothing serious yet. Need to refactor a couple more things to
be much easier to test it all with unit tests.
2015-05-18 12:00:16 -07:00