Skip to content

Fix some flaky tests#4113

Merged
sougou merged 4 commits intovitessio:masterfrom
sougou:flakes
Jul 30, 2018
Merged

Fix some flaky tests#4113
sougou merged 4 commits intovitessio:masterfrom
sougou:flakes

Conversation

@sougou
Copy link
Copy Markdown
Contributor

@sougou sougou commented Jul 29, 2018

mariadb flavor

The endtoend test was failing in mariadb because the error message
returned was different. The operation has now been changed
to something that returns the same message for all flavors.

buffer_test

There was a race between releasing and acquiring a sema.

vtgatev2_test

The test was flaky because frequent restarts of mysql were
causing the relay log to go corrupt. Changed the my.cnf settings
to be more crash-safe.

update_stream

update_test was sometimes flaky if replicas were slow.
Changed some checks to accommodate this.

sougou added 2 commits July 28, 2018 20:11
The endtoend test was failing in mariadb because the error message
returned was different. The operation has now been changed
to something that returns the same message for all flavors.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
There was a race between releasing and acquiring a sema.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
@sougou sougou requested review from acharis and demmer July 29, 2018 19:25
sougou added 2 commits July 29, 2018 21:27
The test was flaky because frequent restarts of mysql were
causing the relay log to go corrupt. Changed the my.cnf settings
to be more crash-safe.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
update_test was sometimes flaky if replicas were slow.
Changed some checks to accommodate this.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
@sougou sougou merged commit 672186c into vitessio:master Jul 30, 2018
@sougou sougou deleted the flakes branch August 12, 2018 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants