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
test/osd/osd-fast-mark-down.sh: remove unnecessary teardown() calls #12101
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, accidental rocksdb submodule update?
return 1 | ||
fi | ||
done | ||
pkill -SIGTERM rados | ||
teardown $dir || return 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing this one in particular will cause entire test to fail, even if it actually succeeded, because OSDs are not cleaned up in subsequent sub-tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @branch-predictor . This is not typical of the structure of other tests but that's ok.
return 1 | ||
fi | ||
done | ||
pkill -SIGTERM rados | ||
teardown $dir || return 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @branch-predictor . This is not typical of the structure of other tests but that's ok.
main() does this for us. Signed-off-by: Kefu Chai <kchai@redhat.com>
28d1a7c
to
60bb32a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if tests pass.
@dachary and @branch-predictor fixed and repushed. |
main() does this for us.
Signed-off-by: Kefu Chai kchai@redhat.com