Skip to content

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

2 participants