Skip to content

Commit 944fc57

Browse files
calebcartwrighttopecongiro
authored andcommitted
tests: ensure min number of system/idempotent tests ran (#3629)
1 parent aa0c9dd commit 944fc57

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/test/mod.rs

+10
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ fn system_tests() {
172172
// Display results.
173173
println!("Ran {} system tests.", count);
174174
assert_eq!(fails, 0, "{} system tests failed", fails);
175+
assert!(
176+
count >= 300,
177+
"Expected a minimum of {} system tests to be executed",
178+
300
179+
)
175180
});
176181
}
177182

@@ -292,6 +297,11 @@ fn idempotence_tests() {
292297
// Display results.
293298
println!("Ran {} idempotent tests.", count);
294299
assert_eq!(fails, 0, "{} idempotent tests failed", fails);
300+
assert!(
301+
count >= 400,
302+
"Expected a minimum of {} idempotent tests to be executed",
303+
400
304+
)
295305
});
296306
}
297307

0 commit comments

Comments
 (0)