MXS-1861 Test that reveals problem

As this is so closely related to MXS-1719 the test program for
that is slightly modified to catch this one as well.
This commit is contained in:
Johan Wikman
2018-05-08 15:04:22 +03:00
parent ec4569497e
commit b3d29da3d2

View File

@ -44,6 +44,13 @@ void run(TestConnections& test)
{
// One multi-statement with two UPDATEs.
test.try_query(pMysql, "UPDATE MXS_1719 SET a=1; UPDATE MXS_1719 SET a=1;");
// Sleep a while, so that the log is flushed.
sleep(5);
// This is actually related to MXS-1861 "masking filter logs warnings with
// multistatements" but it seems excessive to create a specific test for that.
test.log_excludes(0, "Received data, although expected nothing");
// This will hang immediately, so we can shorten the timeout.
test.set_timeout(5);
test.try_query(pMysql, "SELECT * FROM MXS_1719");