Commit f2eabb87 authored by unknown's avatar unknown

Increase time to sleep to allow mysqlds to exit from readonly mode


mysql-test/t/ndb_autodiscover3.test:
  Increase time to sleep and add explanation why
parent b23eb91a
......@@ -17,7 +17,9 @@ insert into t1 values (1);
--exec $NDB_MGM --no-defaults -e "all restart" >> $NDB_TOOLS_OUTPUT
--exec $NDB_TOOLS_DIR/ndb_waiter --no-defaults >> $NDB_TOOLS_OUTPUT
sleep 1;
# Wait for mysqld to reconnect and exit from readonly mode
# Should preferrably be a "while (!"select ndb_readonly")" loop
sleep 2;
--error 1297
insert into t1 values (2);
--error 1296
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment