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

Implement Pub/Sub & Notifier/Listener integration-tests that are highly concurrent #133

Open
3 of 14 tasks
elfenpiff opened this issue Feb 21, 2024 · 0 comments
Open
3 of 14 tasks
Labels
invalid This doesn't seem right

Comments

@elfenpiff
Copy link
Contributor

elfenpiff commented Feb 21, 2024

Brief feature description

Multiple bugs were raised due to the lack of concurrent communication tests. We need tests that cover:

  • sending/receiving messages from within different threads
  • many publisher reconnect to one subscriber
  • many subscriber reconnect to one publisher
  • create/open all service types concurrently
  • many listener reconnect to one notifier
  • many notifier reconnect to one listener
  • write tests for shared memory with pool allocator
    • allocate on one side, translate pointer, write on other side - whole shm
    • offset must start at 0 and must always be a multiple of the bucket size
  • write full test suite for shm pool allocator
  • publisher/subscriber reconnect and updates history after reconnect
  • drop(subscriber), keep sample
    • blocks max subscriber
    • sample can be read and no data race
  • drop(publisher), keep sample on receiver side
    • blocks max publisher
    • sample can be read
  • drop(publisher), keep sample on publisher side
    • blocks max publisher
    • sample can still be published but will not be received unless multiple samples on publisher side are hold
  • drop(publisher & subscriber), keep sample
  • drop(service), keep ports
    • communication shall still work
    • service no longer discoverable
    • when service recreated and ports are added, existing ports shall receive/can send to old ports
@elfenpiff elfenpiff added the invalid This doesn't seem right label Feb 21, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 28, 2024
…write drop tests; fix bug in sample releasing to wrong publisher
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 1, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 3, 2024
…write drop tests; fix bug in sample releasing to wrong publisher
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 3, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 3, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 4, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
…write drop tests; fix bug in sample releasing to wrong publisher
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
…write drop tests; fix bug in sample releasing to wrong publisher
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
…write drop tests; fix bug in sample releasing to wrong publisher
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 7, 2024
@elfenpiff elfenpiff mentioned this issue Mar 7, 2024
17 tasks
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 7, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 7, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 11, 2024
…ests more explicit; add explanation to todos
elfenpiff added a commit that referenced this issue Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant