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

qa/workunits/cephtool/test.sh: false positive fail on /tmp/obj1. #6837

Merged
merged 1 commit into from Dec 7, 2015

Conversation

robbat2
Copy link
Contributor

@robbat2 robbat2 commented Dec 7, 2015

If /tmp/obj1 happened to exist already, and was not writable by the
testing user, then this test failed!

Signed-off-by: Robin H. Johnson robin.johnson@dreamhost.com

@@ -247,7 +247,7 @@ function test_tiering_agent()
done
$evicted # assert
# the object is proxy read and promoted to the cache
rados -p $slow get obj1 /tmp/obj1
rados -p $slow get obj1 $TMPFILE
Copy link
Member

Choose a reason for hiding this comment

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

how about rados -p $slow get obj1 - > /dev/null since we don't use the result? if we reordered tests at some point $TMPFILE could already exist

If /tmp/obj1 happened to exist already, and was not writable by the
testing user, then this test failed!

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
@robbat2
Copy link
Contributor Author

robbat2 commented Dec 7, 2015

Amended

jdurgin added a commit that referenced this pull request Dec 7, 2015
qa/workunits/cephtool/test.sh: false positive fail on /tmp/obj1.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
@jdurgin jdurgin merged commit caedebd into ceph:master Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants