Merge 5a085f0c19
into bd4e943597
This commit is contained in:
commit
4110b06b86
2 changed files with 31 additions and 3 deletions
|
@ -1878,7 +1878,7 @@ impl<'a> Iterator for ByteChunks<'a> {
|
|||
impl QueryCursorHandle {
|
||||
pub fn new() -> Self {
|
||||
let mut cursor = QUERY_CURSORS.lock().pop().unwrap_or_default();
|
||||
cursor.set_match_limit(64);
|
||||
cursor.set_match_limit(1024);
|
||||
QueryCursorHandle(Some(cursor))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -946,6 +946,34 @@ mod tests {
|
|||
name: "test case 2",
|
||||
anotherStr: "bar",
|
||||
},
|
||||
{
|
||||
name: "test case 3",
|
||||
anotherStr: "fooo",
|
||||
},
|
||||
{
|
||||
name: "test case 4",
|
||||
anotherStr: "baar",
|
||||
},
|
||||
{
|
||||
name: "test case 5",
|
||||
anotherStr: "foooo",
|
||||
},
|
||||
{
|
||||
name: "test case 6",
|
||||
anotherStr: "baaar",
|
||||
},
|
||||
{
|
||||
name: "test case 7",
|
||||
anotherStr: "foooooo",
|
||||
},
|
||||
{
|
||||
name: "test case 8",
|
||||
anotherStr: "baaaar",
|
||||
},
|
||||
{
|
||||
name: "test case 9",
|
||||
anotherStr: "foooooooo",
|
||||
},
|
||||
}
|
||||
|
||||
notATableTest := []struct{
|
||||
|
@ -1005,8 +1033,8 @@ mod tests {
|
|||
go_test_count
|
||||
);
|
||||
assert!(
|
||||
go_table_test_count == 2,
|
||||
"Should find exactly 2 go-table-test-case, found: {}",
|
||||
go_table_test_count == 9,
|
||||
"Should find exactly 9 go-table-test-case, found: {}",
|
||||
go_table_test_count
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue