Skip to content

Commit

Permalink
[System Tests] Fix test_ingest_and_query (#1877)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gal Topper committed Apr 7, 2022
1 parent 14cfc8a commit a81a4a4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/system/feature_store/test_feature_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
from mlrun.feature_store.feature_set import aggregates_step
from mlrun.feature_store.feature_vector import FixedWindowType
from mlrun.feature_store.steps import FeaturesetValidator
from mlrun.features import MinMaxLenValidator, MinMaxValidator
from mlrun.features import MinMaxValidator
from tests.system.base import TestMLRunSystem

from .data_sample import quotes, stocks, trades
Expand Down Expand Up @@ -152,9 +152,6 @@ def _ingest_quotes_featureset(self):
self._logger.info(f"quotes spec: {quotes_set.spec.to_yaml()}")
assert df["zz"].mean() == 9, "map didnt set the zz column properly"
quotes_set["bid"].validator = MinMaxValidator(min=52, severity="info")
quotes_set["ticker"].validator = MinMaxLenValidator(
min=1, max=10, severity="info"
)

quotes_set.plot(
str(self.results_path / "pipe.png"), rankdir="LR", with_targets=True
Expand Down

0 comments on commit a81a4a4

Please sign in to comment.