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

[Bug] z_channels_test unit test breaks when built without multithreading #874

Open
brandonho667 opened this issue Jan 31, 2025 · 1 comment · May be fixed by #882
Open

[Bug] z_channels_test unit test breaks when built without multithreading #874

brandonho667 opened this issue Jan 31, 2025 · 1 comment · May be fixed by #882
Assignees
Labels
bug Something isn't working

Comments

@brandonho667
Copy link

brandonho667 commented Jan 31, 2025

Describe the bug

when running z_channels_test with multithreading disabled, there's an assertion error

z_channels_test: /home/zenoh-pico/tests/z_channels_test.c:153: sample_ring_channel_test_in_size: Assertion `strcmp(buf, "closed") == 0' failed.

at line 153. The only difference in execution I notice is here, not sure if that helps.

To reproduce

Disable multithreading in CMakeLists.txt, build and run z_channels_test

System info

  • Platform: Ubuntu 24.04
  • CPU: Intel(R) Xeon(R)
  • Zenoh version: bbb343c
@brandonho667 brandonho667 added the bug Something isn't working label Jan 31, 2025
@sashacmc
Copy link
Member

@brandonho667, thanks for the report, we'll look into it.

@sashacmc sashacmc self-assigned this Jan 31, 2025
@sashacmc sashacmc linked a pull request Feb 3, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants