Skip to content

Conversation

@morgandu
Copy link
Contributor

@morgandu morgandu commented Feb 26, 2022

Fix: #1030

@morgandu morgandu removed the request for review from nayaknishant February 27, 2022 21:48
@morgandu morgandu added the automerge Merge the pull request once unit tests and other checks pass. label Feb 27, 2022
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Feb 28, 2022
@morgandu morgandu self-assigned this Feb 28, 2022

list_featurestores = aiplatform.Featurestore.list()
assert (len(list_featurestores) - base_list_featurestores) == 1
assert len(list_featurestores) >= 1
Copy link
Contributor

Choose a reason for hiding this comment

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

For my system test, I actually do:

        assert get_index.resource_name in [
            index.resource_name for index in list_indexes
        ]

Just another option that doesn't depend on the absolute number of items in the list.

featurestore_name=featurestore_name
)
assert len(list_entity_types) == 2
assert len(list_entity_types) >= 1
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto


list_user_features = user_entity_type.list_features()
assert len(list_user_features) == 3
assert len(list_user_features) >= 1
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

Copy link
Contributor

@ivanmkc ivanmkc left a comment

Choose a reason for hiding this comment

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

LGTM

@morgandu morgandu added the automerge Merge the pull request once unit tests and other checks pass. label Feb 28, 2022
@gcf-merge-on-green gcf-merge-on-green bot merged commit 2ba404f into googleapis:main Feb 28, 2022
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Feb 28, 2022
abcdefgs0324 pushed a commit to abcdefgs0324/python-aiplatform that referenced this pull request Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tests.system.aiplatform.test_featurestore.TestFeaturestore: test_search_features failed

4 participants