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

downsamplig_by_keyexpr test failure fix #1173

Draft
wants to merge 7 commits into
base: dev/1.0.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
retries = 1
slow-timeout = { period = "60s", terminate-after = 2 }

# Run the following tests on windows with longer timeout
[[profile.default.overrides]]
filter = """
test(=downsampling_by_keyexpr) |
test(=header_alloc_concurrent) |
test(=authenticator_quic) |
test(=transport_tcp_concurrent)
"""
platform = 'cfg(target_os = "windows")'
slow-timeout = { period = "60s", terminate-after = 6 }
threads-required = 'num-cpus'

# Run the following tests exclusively with longer timeout
[[profile.default.overrides]]
filter = """
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
run: cargo +stable clippy --all-targets --features unstable -- --deny warnings

- name: Clippy all features
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest' }}
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-13' || matrix.os == 'macos-14' }}
run: cargo +stable clippy --all-targets --all-features -- --deny warnings

- name: Install generic no_std target
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
run: cargo nextest run --exclude zenoh-examples --exclude zenoh-plugin-example --workspace

- name: Run tests with SHM
if: ${{ matrix.os == 'macOS-latest' || matrix.os == 'windows-latest' }}
if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14' || matrix.os == 'windows-latest' }}
run: cargo nextest run -F shared-memory -F unstable -E 'not (test(test_default_features))' --exclude zenoh-examples --exclude zenoh-plugin-example --workspace

- name: Run tests with SHM + unixpipe
Expand Down
1 change: 0 additions & 1 deletion zenoh/tests/interceptors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ fn downsampling_by_keyexpr_impl(flow: InterceptorFlow) {
downsampling_test(pub_config, sub_config, ke_prefix, ke_of_rates, rate_check);
}

#[cfg(unix)]
#[test]
fn downsampling_by_keyexpr() {
zenoh::try_init_log_from_env();
Expand Down
Loading