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

Flaky test executor/delete for foreign key #56978

Closed
YangKeao opened this issue Oct 30, 2024 · 0 comments · Fixed by #56979
Closed

Flaky test executor/delete for foreign key #56978

YangKeao opened this issue Oct 30, 2024 · 0 comments · Fixed by #56979
Labels
component/test type/enhancement The issue or PR belongs to an enhancement.

Comments

@YangKeao
Copy link
Member

The foreign test in executor/delete is flaky:

time="2024-10-28T17:52:32+08:00" level=error msg="run test [executor/delete] err: sql:delete parent, parent2 from parent join parent2 on parent.a = parent2.a;: failed to run query \n\"delete parent, parent2 from parent join parent2 on parent.a = parent2.a;\" \n around line 139, \nwe need(256):\ndelete parent, parent2 from parent join parent2 on parent.a = parent2.a;\nError 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails (`executor__delete`.`child`, CONSTRAINT `fk_1` FOREIGN KEY (`a`) REFERENCES `parent` (`a`))\nde\nbut got(256):\ndelete parent, parent2 from parent join parent2 on parent.a = parent2.a;\nError 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails (`executor__delete`.`child2`, CONSTRAINT `fk_1` FOREIGN KEY (`a`) REFERENCES `parent2` (`a`))\n\n"
@YangKeao YangKeao added the type/bug The issue is confirmed as a bug. label Oct 30, 2024
@YangKeao YangKeao added severity/minor type/enhancement The issue or PR belongs to an enhancement. and removed type/bug The issue is confirmed as a bug. severity/minor labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/test type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants