Bug #97919 x.connection test needs to clean up created users
Submitted: 6 Dec 2019 19:33 Modified: 13 Dec 2019 15:41
Reporter: Herman Lee Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Document Store: X Plugin Severity:S7 (Test Cases)
Version:8.0.17, 5.7.28, 8.0.18 OS:Any
Assigned to: CPU Architecture:Any

[6 Dec 2019 19:33] Herman Lee
Description:
x.connection test creates users '', special, and session, but does not drop them at the end of the test. This causes other tests to fail in unexpected ways.

How to repeat:
mtr --mem x.connection x.connection_default_schema

x.connection_default_schema fails.

Suggested fix:
add drop user calls at the end of the test to clean up the create user calls.
[7 Dec 2019 6:19] MySQL Verification Team
Hello Herman Lee,

Thank you for the report and feedback.
I didn't notice any test failures in my repeated attempts at my end but after a quick test review(on both 8.0.18 and 5.7.28) confirmed that those mentioned users were not dropped at cleanup.

regards,
Umesh
[13 Dec 2019 15:41] Margaret Fisher
Posted by developer:
 
Test case, closing with no changelog entry.