-
Notifications
You must be signed in to change notification settings - Fork 181
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
Sporadic Testcase failure: pubsub_connection_test #1880
Comments
Also failed in V5 implementation on master build: 2025-01-10T17:52:19.7421456Z 16: [ RUN ] core_cpp_pubsub_v5.TestPublisherIsSubscribedTiming |
I may have seen this bug in the wild as well. Can reproduce a problem reliably with eCAL monitor (tui).
Appears to be an issue with subscribing, destroying, and resubscribing to a topic. |
@DownerCase I cannot unfortunately reproduce the usecase with ecal mon tui. |
Platform:
Steps:
Initial tests weren't loading a config ( Was also a warning about loading ecaltime plugin but even with it the problem persists. I initially saw this with my Go eCAL monitor so its not specific to Edit: Just trying a Debug build to see if that unearths anything useful. 🤞 |
Will try on a Unix platform tomorrow. Hopefully can reproduce, though there must be more to it, since we do have testcases for this scenario, too. Can you run the whole testsuite, too? Do you see any kinds of issue there? |
Just the one failure in somewhere different to the reports in this issue...
I ran the Edit: The registration_test_public tests sometimes all pass :/ |
Recently on Github Actions: 13: [ RUN ] core_cpp_pubsub_callback_topid_id/TestFixture.OnePubSub/2 |
@DownerCase the case which you are showing might be a performance issue. So about this testcase I would not be too worried, however all that is failing on Github Actions, I think there are really some underlying problems... |
Sounds good. Later on I was unable to get any tests to fail 🤷 I will try and figure the problem I'm seeing which seems different to the problem here. |
Problem Description
15: [ RUN ] core_cpp_pubsub.TestPublisherIsSubscribedTiming
15: D:\a\ecal\ecal\ecal\tests\cpp\pubsub_test\src\pubsub_connection_test.cpp(220): error: Value of: publisher_seen_at_subscription_start
15: Actual: false
15: Expected: true
15:
15: [ FAILED ] core_cpp_pubsub.TestPublisherIsSubscribedTiming (1068 ms)
Also recently:
15: [ RUN ] core_cpp_pubsub.DynamicCreate
15: D:\a\ecal\ecal\ecal\tests\cpp\pubsub_test\src\pubsub_test.cpp(334): error: Value of: pub->Send(send_s)
15: Actual: false
15: Expected: true
15:
15: D:\a\ecal\ecal\ecal\tests\cpp\pubsub_test\src\pubsub_test.cpp(340): error: Expected equality of these values:
15: send_s.size()
15: Which is: 1024
15: g_callback_received_bytes
15: Which is: 0
15:
15: [ FAILED ] core_cpp_pubsub.DynamicCreate (6218 ms)
How to reproduce
current master
How did you get eCAL?
I don't know
Environment
eCAL System Information
No response
The text was updated successfully, but these errors were encountered: