File tree 1 file changed +5
-6
lines changed
gix-worktree/tests/worktree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,6 @@ fn keep_going_collects_results() {
256
256
opts,
257
257
"make_mixed_without_submodules" ,
258
258
|_id| {
259
- dbg ! ( _id) ;
260
259
!matches ! (
261
260
count. fetch_update( Ordering :: SeqCst , Ordering :: SeqCst , |current| {
262
261
( current < 2 ) . then_some( current + 1 )
@@ -292,10 +291,11 @@ fn keep_going_collects_results() {
292
291
293
292
if multi_threaded ( ) {
294
293
let actual = dir_structure ( & destination) ;
295
- if actual. len ( ) != 3 {
296
- dbg ! ( destination. into_path( ) ) ;
297
- }
298
- assert_eq ! ( actual. len( ) , 3 ) ;
294
+ assert ! (
295
+ ( 2 ..=3 ) . contains( & actual. len( ) ) ,
296
+ "it's 3 most of the time, but can be 2 of the 'empty' file is missing as the object couldn't be accessed.\
297
+ It's unclear why there isn't more, as it would keep going"
298
+ ) ;
299
299
} else {
300
300
assert_eq ! (
301
301
stripped_prefix( & destination, & dir_structure( & destination) ) ,
@@ -481,7 +481,6 @@ fn checkout_index_in_tmp_dir_opts(
481
481
if allow_return_object ( oid) {
482
482
odb. find_blob ( oid, buf)
483
483
} else {
484
- dbg ! ( oid) ;
485
484
Err ( gix_odb:: find:: existing_object:: Error :: NotFound { oid : oid. to_owned ( ) } )
486
485
}
487
486
} ,
You can’t perform that action at this time.
0 commit comments