Auto merge of #109874 - jyn514:subdirectory-limit, r=compiler-errors

Reduce the default max number of files in a UI test directory

It doesn't make sense for the root directory to have a lower limit than subdirectories.
This commit is contained in:
bors 2023-04-06 05:22:35 +00:00
commit 7f6edd3f15

View File

@ -7,8 +7,8 @@ use std::collections::HashMap;
use std::fs;
use std::path::{Path, PathBuf};
const ENTRY_LIMIT: usize = 1000;
// FIXME: The following limits should be reduced eventually.
const ENTRY_LIMIT: usize = 885;
const ROOT_ENTRY_LIMIT: usize = 881;
const ISSUES_ENTRY_LIMIT: usize = 1978;