[wp-trac] [WordPress Trac] #39327: Database connection errors in unit tests on 4.7
WordPress Trac
noreply at wordpress.org
Thu Jan 5 19:43:01 UTC 2017
#39327: Database connection errors in unit tests on 4.7
------------------------------------------+---------------------
Reporter: rmccue | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7.1
Component: Build/Test Tools | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch commit fixed-major | Focuses:
------------------------------------------+---------------------
Comment (by mnelson4):
+1 to @jdgrimes 's fix.
That turned out to be exactly our issue too. We had temporary tables that
weren't getting dropped explicitly after each test (only implicitly by the
database session ending). So now we're explicitly dropping those temporary
tables after each test during `tearDown` and it works.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39327#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list