Skip to content

Commit d9e6360

Browse files
committed
additional cases are added by more tests, so dont need the note
1 parent 0538507 commit d9e6360

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

tests/testsuite/resolve.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,15 @@ use proptest::{prelude::*, *};
2323
/// and if you did not change the resolver then feel free to retry without concern.
2424
proptest! {
2525
#![proptest_config(ProptestConfig {
26-
// Note that this is a little low in terms of cases we'd like to test,
27-
// but this number affects how long this function takes. It can be
28-
// increased locally to execute more tests and try to find more bugs,
29-
// but for now it's semi-low to run in a small-ish amount of time on CI
30-
// and locally.
31-
cases: 256,
3226
max_shrink_iters:
3327
if env::var("CI").is_ok() || !atty::is(atty::Stream::Stderr) {
3428
// This attempts to make sure that CI will fail fast,
3529
0
3630
} else {
3731
// but that local builds will give a small clear test case.
38-
ProptestConfig::default().max_shrink_iters
32+
std::u32::MAX
3933
},
34+
result_cache: prop::test_runner::basic_result_cache,
4035
.. ProptestConfig::default()
4136
})]
4237

tests/testsuite/support/resolver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ pub fn registry_strategy(
417417
// By default a package depends only on other packages that have a smaller name,
418418
// this helps make sure that all things in the resulting index are DAGs.
419419
// If this is true then the DAG is maintained with grater instead.
420-
let reverse_alphabetical = any::<bool>();
420+
let reverse_alphabetical = any::<bool>().no_shrink();
421421

422422
(
423423
list_of_crates_with_versions,

0 commit comments

Comments
 (0)