Skip to content

Commit

Permalink
Remove truncate error log from rocksdb.rocksdb_checksums test
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Herman Lee authored and George O. Lorch III committed May 23, 2018
1 parent 2a790de commit ff1025c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions mysql-test/suite/rocksdb/r/rocksdb_checksums.result
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/suite/rocksdb/t/rocksdb_checksums.test
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ff1025c

Please sign in to comment.