-
Notifications
You must be signed in to change notification settings - Fork 38
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
Add a test for bluechictl monitor <node> <service> #776
Add a test for bluechictl monitor <node> <service> #776
Conversation
e02b0b0
to
0907850
Compare
stdout is by default buffered stream, so in order to be able to parse output from bluechictl in real time in integration tests we need to explicitely call flush. Signed-off-by: Martin Perina <mperina@redhat.com>
0907850
to
79cc7de
Compare
I was thinking about another solution for that, that would also test |
tests/tests/tier0/bluechi-monitor-service/systemd/simple.service
Outdated
Show resolved
Hide resolved
6e94aea
to
a10ace3
Compare
Switched to use temporary file for parsing bluechictl monitor results, so we cleanup properly after the test finishes |
Adds a test if a restarted service on a node> is properly monitored by bluechictl monitor command. Fixes: eclipse-bluechi#777 Signed-off-by: Martin Perina <mperina@redhat.com>
a10ace3
to
76da056
Compare
In general, there is probably a lot of optimization potential in the current tests - this could be one. Lets focus on the 100% function coverage first and optimize after that :) |
Fixes: #777