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

Integration test framework files for hotpot #999

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

satya-gorli
Copy link
Contributor

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
-->

// 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")
Copy link
Contributor

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?

Copy link
Contributor Author

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

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.

2 participants