Rollup merge of #120439 - seqre-contrib:moving-ui-tests, r=nnethercote

Move UI issue tests to subdirectories

I've moved issue tests numbered 1920, 3668, 5997, 23302, 32122, 40510, 57741, 71676, and 76077 to relevant better-named subdirectories (tracking issue #73494). The issues were chosen by having the highest number of files per issue.

I adjusted the `ISSUES_ENTRY_LIMIT` because `tidy` was shouting at me.
This commit is contained in:
Guillaume Gomez 2024-01-30 11:19:17 +01:00 committed by GitHub
commit 3524d8ac25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
53 changed files with 5 additions and 2 deletions

View file

@ -8,9 +8,12 @@ use std::ffi::OsStr;
use std::fs;
use std::path::{Path, PathBuf};
// FIXME: GitHub's UI truncates file lists that exceed 1000 entries, so these
// should all be 1000 or lower. Limits significantly smaller than 1000 are also
// desirable, because large numbers of files are unwieldy in general. See issue
// #73494.
const ENTRY_LIMIT: usize = 900;
// FIXME: The following limits should be reduced eventually.
const ISSUES_ENTRY_LIMIT: usize = 1849;
const ISSUES_ENTRY_LIMIT: usize = 1807;
const ROOT_ENTRY_LIMIT: usize = 870;
const EXPECTED_TEST_FILE_EXTENSIONS: &[&str] = &[