Skip to content

Conversation

@tokoko
Copy link
Collaborator

@tokoko tokoko commented May 20, 2024

What this PR does / why we need it:

This PR refactors bunch of code around environment setup for integration tests.

  • Decouples IntegrationTestRepoConfig and Environment classes from one another. (Need to investigate if we can get rid of one of them entirely)
  • Introduces a new setup method in DataSourceCreator that takes registry config as an input. This is necessary for remote DataSourceCreator as server-side feature store and client-side need to use the same registry in tests.

Signed-off-by: tokoko <togurg14@freeuni.edu.ge>
tokoko added 3 commits May 21, 2024 00:23
Signed-off-by: tokoko <togurg14@freeuni.edu.ge>
Signed-off-by: tokoko <togurg14@freeuni.edu.ge>
Signed-off-by: tokoko <togurg14@freeuni.edu.ge>
@tokoko
Copy link
Collaborator Author

tokoko commented May 21, 2024

cc @dmartinol

@dmartinol
Copy link
Contributor

cc @lokeshrangineni

Copy link
Contributor

@dmartinol dmartinol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@tokoko tokoko requested a review from jeremyary May 21, 2024 15:21
@jeremyary jeremyary merged commit 2b398dc into feast-dev:master May 21, 2024
@tokoko tokoko deleted the offline-source-creator branch May 21, 2024 18:17
@tokoko
Copy link
Collaborator Author

tokoko commented May 22, 2024

Are you running linter on tests folder as well? mypy in make lint-python doesn't lint tests (maybe it should be...)

@dmartinol
Copy link
Contributor

Are you running linter on tests folder as well? mypy in make lint-python doesn't lint tests (maybe it should be...)

never mind, I missed to build the dev env, my fault sorry!

franciscojavierarceo pushed a commit that referenced this pull request May 27, 2024
* refactor it test environment setup

Signed-off-by: tokoko <togurg14@freeuni.edu.ge>

* fix test_offline_store env setup

Signed-off-by: tokoko <togurg14@freeuni.edu.ge>

* fix it tests

Signed-off-by: tokoko <togurg14@freeuni.edu.ge>

* fix it tests

Signed-off-by: tokoko <togurg14@freeuni.edu.ge>

---------

Signed-off-by: tokoko <togurg14@freeuni.edu.ge>
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.

3 participants