From ff1025c98ffce86582a793ecb746b94daf16fc3d Mon Sep 17 00:00:00 2001 From: Herman Lee Date: Thu, 15 Feb 2018 12:00:27 -0800 Subject: [PATCH] Remove truncate error log from rocksdb.rocksdb_checksums test Upstream commit ID : fb-mysql-5.6.35/f0cbe47e1b2dcdc8f8f9ca89f6b0fc8faab85e17 PS-4476 : Merge prod-------- Summary: Restart the test using a new error log instead of truncating the old error log. Also reduce the number of rows from 10000 to 4000 to speed up the test. Reviewed By: asandryh Differential Revision: D7003203 fbshipit-source-id: 6b830ce --- mysql-test/suite/rocksdb/r/rocksdb_checksums.result | 3 --- mysql-test/suite/rocksdb/t/rocksdb_checksums.test | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/mysql-test/suite/rocksdb/r/rocksdb_checksums.result b/mysql-test/suite/rocksdb/r/rocksdb_checksums.result index c244469fbff5..6fe3640b494d 100644 --- a/mysql-test/suite/rocksdb/r/rocksdb_checksums.result +++ b/mysql-test/suite/rocksdb/r/rocksdb_checksums.result @@ -37,9 +37,6 @@ create table t4 (pk int primary key, a int, b int, key(a), key(b)) engine=rocksd check table t4; Table Op Msg_type Msg_text rocksdb_checksums_test.t4 check status OK -10000 index entries had around 500 checksums -10000 index entries had around 500 checksums -Around 500 table records had checksums set session rocksdb_checksums_pct=100; # # Ok, table t2 has all rows with checksums. Simulate a few checksum mismatches. diff --git a/mysql-test/suite/rocksdb/t/rocksdb_checksums.test b/mysql-test/suite/rocksdb/t/rocksdb_checksums.test index 32f46516b50f..6c999f8297c3 100644 --- a/mysql-test/suite/rocksdb/t/rocksdb_checksums.test +++ b/mysql-test/suite/rocksdb/t/rocksdb_checksums.test @@ -84,7 +84,7 @@ create table t4 (pk int primary key, a int, b int, key(a), key(b)) engine=rocksd --disable_query_log let $i=0; let $x= 100000; -while ($i<10000) +while ($i<4000) { inc $i; eval insert t4(pk,a,b) values($i, $i, $i div 10);