-
Notifications
You must be signed in to change notification settings - Fork 950
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
enhance: clean the local-persist after integration tests #1400
enhance: clean the local-persist after integration tests #1400
Conversation
2e0f818
to
6a1128e
Compare
Codecov Report
@@ Coverage Diff @@
## master #1400 +/- ##
==========================================
- Coverage 38.72% 34.87% -3.85%
==========================================
Files 250 254 +4
Lines 16630 18163 +1533
==========================================
- Hits 6440 6335 -105
- Misses 9362 11008 +1646
+ Partials 828 820 -8
|
d955b31
to
9c913c6
Compare
hack/make.sh
Outdated
function clean_local_persist | ||
{ | ||
echo "Try cleaning local-persist" | ||
pid=`ps axu|grep local-persist |grep -v grep|awk '{print $2}'` |
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.
How about just pgrep ? And use $() instead of ``
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.
done it
hack/make.sh
Outdated
echo "Try cleaning local-persist" | ||
pid=`ps axu|grep local-persist |grep -v grep|awk '{print $2}'` | ||
|
||
if [ -n "$pid" ]; then |
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.
use [[ ]] instead of [ ]
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.
done it
Signed-off-by: Eric Li <lcy041536@gmail.com>
9c913c6
to
de673c5
Compare
LGTM |
Signed-off-by: Eric Li lcy041536@gmail.com
Ⅰ. Describe what this PR did
After integration tests, we will clean the local-persist volume plugin
Ⅱ. Does this pull request fix one issue?
fix #1396
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews