Skip to content

Expand Go and Java SDK Test Coverage#720

Merged
feast-ci-bot merged 13 commits intofeast-dev:masterfrom
mrzzy:fix-sdk-bugs-test-converage
Jun 5, 2020
Merged

Expand Go and Java SDK Test Coverage#720
feast-ci-bot merged 13 commits intofeast-dev:masterfrom
mrzzy:fix-sdk-bugs-test-converage

Conversation

@mrzzy
Copy link
Copy Markdown
Collaborator

@mrzzy mrzzy commented May 20, 2020

What this PR does / why we need it:

Expand SDKs Test Coverage:

  • Added unit test to test client.go in Go SDK
  • Added unit test to test FeastClient in Java SDK.
  • Expanded unit test for Client.get_online_features() in Python SDK to verify the correct request is submitted.

Does this PR introduce a user-facing change?:

NONE

@mrzzy
Copy link
Copy Markdown
Collaborator Author

mrzzy commented May 21, 2020

/hold

@mrzzy
Copy link
Copy Markdown
Collaborator Author

mrzzy commented May 21, 2020

/hold cancel

@mrzzy mrzzy changed the title Fix SDK bugs and Expand SDK Test Coverage Expand SDK Test Coverage May 26, 2020
@mrzzy mrzzy changed the title Expand SDK Test Coverage Expand Go and Java SDK Test Coverage May 26, 2020
@mrzzy mrzzy requested a review from pyalex as a code owner June 1, 2020 03:21
@feast-ci-bot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mrzzy, woop

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@woop
Copy link
Copy Markdown
Member

woop commented Jun 5, 2020

/lgtm

@feast-ci-bot feast-ci-bot merged commit 4be0eff into feast-dev:master Jun 5, 2020
zhangchi1 pushed a commit to Cimpress-MCP/feast that referenced this pull request Jun 11, 2020
* Added TestGetOnlineFeatures() client_test to test client.GetOnlineFeatures()

* Added unit test for Java SDK's FeastClient

* Make Python SDK's client.get_online_features()  unit test more comprehensive

* Remove code added to debug the Python SDK tests

* Change repo referenced in go.mod to mrzzy fork to test modules retrieval

* Fix python sdk lint

* Revert "Change repo referenced in go.mod to mrzzy fork to test modules retrieval"

This reverts commit 13008ccef6b6cbee6299029589b5e9e864eee7ae.

* Optmisation: Init stripFields map to expected size in client.GetOnlineFeatures()

* Make the name of the client test case more descriptive

* Add missing mock files

* Fix rebase markers in project root go mod

* Fix compilation issue cause by downgrade to java 8

* Revert row count in python SDK client test to 300

Co-authored-by: Zhu Zhanyan <zhu.zhanyan@gojek.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants