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

Expand Go and Java SDK Test Coverage #720

Merged
merged 13 commits into from
Jun 5, 2020
Merged

Expand Go and Java SDK Test Coverage #720

merged 13 commits into from
Jun 5, 2020

Conversation

mrzzy
Copy link
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
Collaborator Author

mrzzy commented May 21, 2020

/hold

sdk/go/client.go Outdated Show resolved Hide resolved
sdk/go/client_test.go Outdated Show resolved Hide resolved
sdk/java/src/main/java/com/gojek/feast/FeastClient.java Outdated Show resolved Hide resolved
sdk/java/src/main/java/com/gojek/feast/FeastClient.java Outdated Show resolved Hide resolved
@mrzzy
Copy link
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
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

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