Skip to content

Sporadic test failure: shuffle_vec::test::test_shuffle_with_first #1668

@xtqqczze

Description

@xtqqczze
failures:

---- shuffle_vec::test::test_shuffle_with_first stdout ----

thread 'shuffle_vec::test::test_shuffle_with_first' (9276) panicked at connect/src/shuffle_vec.rs:180:9:
assertion `left == right` failed: only the switched positions should be different
  left: 0
 right: 2
stack backtrace:
   0: __rustc::rust_begin_unwind
             at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/std/src/panicking.rs:698:5
   1: core::panicking::panic_fmt
             at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/core/src/panicking.rs:80:14
   2: core::panicking::assert_failed_inner
             at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/core/src/panicking.rs:439:23
   3: core::panicking::assert_failed
             at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/core/src/panicking.rs:399:5
   4: librespot_connect::shuffle_vec::test::test_shuffle_with_first
             at ./src/shuffle_vec.rs:180:9
   5: librespot_connect::shuffle_vec::test::test_shuffle_with_first::{{closure}}
             at ./src/shuffle_vec.rs:150:33
   6: core::ops::function::FnOnce::call_once
             at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/core/src/ops/function.rs:250:5
   7: core::ops::function::FnOnce::call_once
             at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Originally posted by @xtqqczze in #1667 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions