Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unstable tests in tests/online.rs #432

Open
orottier opened this issue Jan 7, 2024 · 0 comments
Open

Unstable tests in tests/online.rs #432

orottier opened this issue Jan 7, 2024 · 0 comments

Comments

@orottier
Copy link
Owner

orottier commented Jan 7, 2024

The event loop has unpredictable timings. Also the sleeps commands to measure progress of current time sometimes do not suffice

---- test_panner_node_drop_panic stdout ----
thread 'test_panner_node_drop_panic' panicked at tests/online.rs:182:5:
assertion failed: context.current_time() >= time + 0.15
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- test_audioparam_outlives_audionode stdout ----
thread 'test_audioparam_outlives_audionode' panicked at tests/online.rs:210:5:
assertion failed: context.current_time() >= time + 0.15

---- node::analyser::tests::test_analyser_after_closed stdout ----
thread 'node::analyser::tests::test_analyser_after_closed' panicked at src/node/analyser.rs:318:9:
assertion failed: `float_eq!(left, right, abs_all <= t)`

---- test_none_sink_id stdout ----
thread 'test_none_sink_id' panicked at tests/online.rs:99:5:
assertion `left == right` failed
  left: 0
 right: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant