File tree 2 files changed +3
-8
lines changed 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,15 @@ use proptest::{prelude::*, *};
23
23
/// and if you did not change the resolver then feel free to retry without concern.
24
24
proptest ! {
25
25
#![ 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 ,
32
26
max_shrink_iters:
33
27
if env:: var( "CI" ) . is_ok( ) || !atty:: is( atty:: Stream :: Stderr ) {
34
28
// This attempts to make sure that CI will fail fast,
35
29
0
36
30
} else {
37
31
// but that local builds will give a small clear test case.
38
- ProptestConfig :: default ( ) . max_shrink_iters
32
+ std :: u32 :: MAX
39
33
} ,
34
+ result_cache: prop:: test_runner:: basic_result_cache,
40
35
.. ProptestConfig :: default ( )
41
36
} ) ]
42
37
Original file line number Diff line number Diff line change @@ -417,7 +417,7 @@ pub fn registry_strategy(
417
417
// By default a package depends only on other packages that have a smaller name,
418
418
// this helps make sure that all things in the resulting index are DAGs.
419
419
// 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 ( ) ;
421
421
422
422
(
423
423
list_of_crates_with_versions,
You can’t perform that action at this time.
0 commit comments