Skip to content

Commit

Permalink
Fix test flakiness in ddl_high_priority
Browse files Browse the repository at this point in the history
Summary:
The ddl_high_priority test occassionally fails with extra output
showing connections remaining over from the previous subtest.
Add a session count to ensure they are cleaned up before the
subtest ends.

Reviewed By: asandryh, Tema

Differential Revision: D6436736

fbshipit-source-id: 8a8e957
  • Loading branch information
Herman Lee authored and facebook-github-bot committed Nov 29, 2017
1 parent 5304e81 commit 00323f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mysql-test/include/ddl_high_priority_module.inc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
## Setup
##

# Save the initial number of concurrent sessions
--source include/count_sessions.inc

connection default;

# create con1
Expand Down Expand Up @@ -139,3 +142,5 @@ connection default;
show processlist;

disconnect con1;

--source include/wait_until_count_sessions.inc

0 comments on commit 00323f7

Please sign in to comment.