-
Notifications
You must be signed in to change notification settings - Fork 316
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
Integration test framework files for hotpot #999
base: master
Are you sure you want to change the base?
Conversation
…IntegrationTest
// ctx, kv := utils.ConnectToDB() | ||
ret := utils.GetValueByKeyFromDB(fId) | ||
Expect(ret).ShouldNot(Equal(OPERATION_FAILED)) | ||
textFound := utils.ReadAndFindTextInFile("C:/go/src/opensds/opensds/test/integration/utils/output.json", "17c60641-63c9-4f7f-992a-c0dcd9abd502") |
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.
Which function writing this log file? Those entries should be written to this log file somewhere, where is that?
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.
this path is just for testing ... In actual testcase, what we want to find in log, need to give the log file path and text to find
What this PR does / why we need it:
The PR is for Integration test framework files using ginkgo
PR contains HTTPHelper (that connects via http and create http call), DBHelper ( which connects to dB and get data), LogReader ( which reads log file and do asseration)
Special notes for your reviewer:
IP of server need to be updated for OpenSDS hotpot installation path
Release note:
NONE
-->