Commit 739da01
authored
Feature group testing (#50)
Summary:
Generated Feature Group controller code and wrote passing integration tests for the Feature Group controller.
Files Added:
- test/e2e/tests/test_feature_group.py - Contains Create and Delete integration test for feature group
- test/e2e/resources/feature_group.yaml - yaml file for feature group creation in integration testing.
- pkg/resource/feature_group/custom_delta.go - Sets default spec values for feature group fields (DisableGlueTableCreation and S3StorageConfig) if the user did not define them.
Files Edited:
- test/e2e/service_bootstrap.py - Attached AmazonSageMakerFeatureStoreAccess Role Policy to the SageMaker Execution Role for testing purposes. (Feature Store requires this permission for the Feature Group creation and access)
- generator.yaml - Commented out feature group from the ignore list. Also added feature group exceptions, hooks, and fields.
- pkg/resource/feature_group/delta.go - added the CustumSetDefault() function from custom_delta.go to the newResourceDelta() function.1 parent 522c147 commit 739da01
File tree
23 files changed
+2584
-31
lines changed- apis/v1alpha1
- cmd/controller
- config
- crd
- bases
- rbac
- pkg/resource/feature_group
- test
- canary/scripts
- e2e
- resources
- tests
23 files changed
+2584
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments