Skip to content

Commit aef8bfd

Browse files
committed
MDEV-8670 main.mdev-504 fails on Windows (in buildbot and outside)
Test failed because it hit net_write_timeout. It might happen in different circumstances, and that's not what the testcase tests, so the timeout is now set to a bigger value.
1 parent 9b475ee commit aef8bfd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

mysql-test/r/mdev-504.result

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
SET GLOBAL net_write_timeout = 900;
12
CREATE TABLE A (
23
pk INTEGER AUTO_INCREMENT PRIMARY KEY,
34
fdate DATE
@@ -19,3 +20,4 @@ DROP TABLE A;
1920
DROP PROCEDURE p_analyze;
2021
DROP FUNCTION rnd3;
2122
SET GLOBAL use_stat_tables = DEFAULT;
23+
SET GLOBAL net_write_timeout = DEFAULT;

mysql-test/t/mdev-504.test

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--disable_ps_protocol
22

3+
SET GLOBAL net_write_timeout = 900;
4+
35
CREATE TABLE A (
46
pk INTEGER AUTO_INCREMENT PRIMARY KEY,
57
fdate DATE
@@ -74,4 +76,4 @@ DROP TABLE A;
7476
DROP PROCEDURE p_analyze;
7577
DROP FUNCTION rnd3;
7678
SET GLOBAL use_stat_tables = DEFAULT;
77-
79+
SET GLOBAL net_write_timeout = DEFAULT;

0 commit comments

Comments
 (0)