Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug 1609422 (Unit test lf-t unstable) #776

Merged
merged 1 commit into from Aug 4, 2016

Conversation

laurynas-biveinis
Copy link
Contributor

Adjust lf-t test threads so that they call my_thread_end before
signalling the main thread that test is done, in order to avoid race
on with_my_thread_init flag, which would cause
my_thread_init/my_thread_end mismatch. Remove obsolete "sleep(2)" from
the test framework.

http://jenkins.percona.com/job/percona-server-5.5-param/1303/

Adjust lf-t test threads so that they call my_thread_end before
signalling the main thread that test is done, in order to avoid race
on with_my_thread_init flag, which would cause
my_thread_init/my_thread_end mismatch. Remove obsolete "sleep(2)" from
the test framework.
@percona-ysorokin
Copy link
Collaborator

the comment is awesome
workaround until we know why it crashes randomly on some machine
It looks like now we do
LGTM

@laurynas-biveinis
Copy link
Contributor Author

The comment is referring to https://bugs.mysql.com/bug.php?id=22320, which boils down to that it's impossible to wrap CMPXCHG8B in GCC inline asm :), not a problem if GCC atomic builtins are available

@laurynas-biveinis laurynas-biveinis merged commit 81c211c into percona:5.5 Aug 4, 2016
@laurynas-biveinis laurynas-biveinis deleted the bug1609422-5.5 branch August 4, 2016 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants