Commit 6576b0e4 authored by unknown's avatar unknown

ndb - revert timeout changes, as a test depends on it, it mysterious ways

      (mysql-test-run only)


mysql-test/ndb/ndb_config_1_node.ini:
  revert timeout changes, as a test depends on it, it mysterious ways
mysql-test/ndb/ndb_config_2_node.ini:
  revert timeout changes, as a test depends on it, it mysterious ways
mysql-test/ndb/ndb_config_4_node.ini:
  revert timeout changes, as a test depends on it, it mysterious ways
mysql-test/t/rpl_ndb_basic.test:
  revert timeout changes, as a test depends on it, it mysterious ways
parent 084e4231
...@@ -17,7 +17,7 @@ DiskPageBufferMemory= CHOOSE_DiskPageBufferMemory ...@@ -17,7 +17,7 @@ DiskPageBufferMemory= CHOOSE_DiskPageBufferMemory
# Increase deadlock-timeout to cater for slow test-machines # Increase deadlock-timeout to cater for slow test-machines
# (possibly running several tests in parallell) # (possibly running several tests in parallell)
# #
TransactionDeadlockDetectionTimeout= 7500 #TransactionDeadlockDetectionTimeout= 7500
[ndbd] [ndbd]
HostName= CHOOSE_HOSTNAME_1 # hostname is a valid network adress HostName= CHOOSE_HOSTNAME_1 # hostname is a valid network adress
......
...@@ -20,7 +20,7 @@ InitialNoOfOpenFiles= 27 ...@@ -20,7 +20,7 @@ InitialNoOfOpenFiles= 27
# Increase deadlock-timeout to cater for slow test-machines # Increase deadlock-timeout to cater for slow test-machines
# (possibly running several tests in parallell) # (possibly running several tests in parallell)
# #
TransactionDeadlockDetectionTimeout= 7500 #TransactionDeadlockDetectionTimeout= 7500
[ndbd] [ndbd]
HostName= CHOOSE_HOSTNAME_1 # hostname is a valid network adress HostName= CHOOSE_HOSTNAME_1 # hostname is a valid network adress
......
...@@ -17,7 +17,7 @@ DiskPageBufferMemory= CHOOSE_DiskPageBufferMemory ...@@ -17,7 +17,7 @@ DiskPageBufferMemory= CHOOSE_DiskPageBufferMemory
# Increase deadlock-timeout to cater for slow test-machines # Increase deadlock-timeout to cater for slow test-machines
# (possibly running several tests in parallell) # (possibly running several tests in parallell)
# #
TransactionDeadlockDetectionTimeout= 7500 #TransactionDeadlockDetectionTimeout= 7500
[ndbd] [ndbd]
HostName= CHOOSE_HOSTNAME_1 # hostname is a valid network adress HostName= CHOOSE_HOSTNAME_1 # hostname is a valid network adress
......
...@@ -116,7 +116,7 @@ UPDATE t1 SET `nom`="DEAD" WHERE `nid`=1; ...@@ -116,7 +116,7 @@ UPDATE t1 SET `nom`="DEAD" WHERE `nid`=1;
# we do this 2 times, once with few retries to verify that we # we do this 2 times, once with few retries to verify that we
# get a failure with the set sleep, and once with the _same_ # get a failure with the set sleep, and once with the _same_
# sleep, but with more retries to get it to succeed # sleep, but with more retries to get it to succeed
--sleep 15 --sleep 5
# replication should have stopped, since max retries where not enough # replication should have stopped, since max retries where not enough
# verify with show slave status # verify with show slave status
...@@ -131,7 +131,7 @@ set GLOBAL slave_transaction_retries=10; ...@@ -131,7 +131,7 @@ set GLOBAL slave_transaction_retries=10;
START SLAVE; START SLAVE;
# wait for deadlock to be detected and retried # wait for deadlock to be detected and retried
# should be the same sleep as above for test to be valid # should be the same sleep as above for test to be valid
--sleep 15 --sleep 5
# commit transaction to release lock on row and let replication succeed # commit transaction to release lock on row and let replication succeed
select * from t1 order by nid; select * from t1 order by nid;
......
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