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

Fail if core=tarantool default server failed #441

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nshy
Copy link
Contributor

@nshy nshy commented Jul 16, 2024

Currently we stop default server in worker run loop only before the next test start. So the previous test does not account whether the Tarantool executing the test exits successfully or not. Thus we do not fail on memory leaks for example.

Let's stop the server and account its exit status in test.

Closes #416

Currently we stop default server in worker run loop only before the
next test start. So the previous test does not account whether the
Tarantool executing the test exits successfully or not. Thus we
do not fail on memory leaks for example.

Let's stop the server and account its exit status in test.

Closes tarantool#416
@coveralls
Copy link

Coverage Status

coverage: 62.721% (+0.1%) from 62.623%
when pulling 7aa25f0 on nshy:fail-on-tarantool-server-failure
into 240cdea on tarantool:master.

@@ -233,6 +234,9 @@ def run(self, server):
is_tap, is_ok, is_skip = self.check_tap_output()
self.is_equal_result = is_ok
self.skip = is_skip

server.stop(silent=True)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems, this patch is not enough to fail on the scenario from #416, because SIGABRT is considered as OK (it was added as part of the #398 fix).

@Totktonada Totktonada assigned nshy and unassigned ylobankov Aug 2, 2024
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

Successfully merging this pull request may close these issues.

Memory leak is not checked for core = tarantool tests
4 participants