Devtools: the carried-tree check's floor counts validation's sources alone
The check that the carried trees read the checkout through the runner's directory first asserts
that its walk found the trees, as a floor on the number of sources read. The floor, 500, counted
the old runtime's tests too; with that crate deleted the carried trees are validation's src and
tests, 372 files, and the test failed on the floor alone ("372 sources read") on host and lavapipe
(m3-max-58615). The floor is now 300, under today's count with room for files to move.
Verified: m3-max-58615 shows the failure at the old floor; the fix's run is the gate of this commit.
This commit is contained in:
1 parent
5d725aeec7
commit
c6ff002ede
1 file changed
+1
-1
@@ -38,7 +38,7 @@ fn the_carried_tests_read_the_checkout_where_the_runner_names_it() {
|
||||
sources(&path, &mut files);
|
||||
}
|
||||
files.sort();
|
||||
assert!(files.len() > 500, "{} sources read", files.len());
|
||||
assert!(files.len() > 300, "{} sources read", files.len());
|
||||
let mut baked = Vec::new();
|
||||
for file in &files {
|
||||
let text = std::fs::read_to_string(file).unwrap();
|
||||
|
||||
Reference in new issue
Block a user