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

Create first tests #2

Open
pochka15 opened this issue May 4, 2022 · 0 comments
Open

Create first tests #2

pochka15 opened this issue May 4, 2022 · 0 comments
Assignees

Comments

@pochka15
Copy link
Owner

pochka15 commented May 4, 2022

Goal

Implement test scenarios

Scenarios

  1. Run coordinator, writer, reader. Expect no applications get blocked, reader prints the received tuple

Notes

  • To do this you'd rather create a new Doctest_tests/ScenariosTest.cpp file
  • I highly recommend watching this youtube video. There is a chapter about posix_spawn(). I think it is what we need to spawn the processes and wait for them
  • Maybe some additional configurations will be needed in the CmakeLists because sometimes functions like posix_spawn don't work out of the box. (Not sure about this)
  • See the Makefile to figure out where we run processes from
  • Please create a separate branch for this issue

Expected result

make test runs tests and all of them should be passed

@pochka15 pochka15 assigned pochka15 and unassigned berlesiewicz Jun 8, 2022
@pochka15 pochka15 pinned this issue Jul 25, 2022
@pochka15 pochka15 unpinned this issue Jul 25, 2022
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

2 participants