Title: Use modular fixture functions for integration test environments · Issue #4302 · feast-dev/feast · GitHub
Open Graph Title: Use modular fixture functions for integration test environments · Issue #4302 · feast-dev/feast
X Title: Use modular fixture functions for integration test environments · Issue #4302 · feast-dev/feast
Description: Feast environment creation in integration tests are currently encapsulated in an Environment class which defers actual resource creation to classes extending OnlineStoreCreator, DataSourceCreator, etc.. While this is very flexible, the d...
Open Graph Description: Feast environment creation in integration tests are currently encapsulated in an Environment class which defers actual resource creation to classes extending OnlineStoreCreator, DataSourceCreator, ...
X Description: Feast environment creation in integration tests are currently encapsulated in an Environment class which defers actual resource creation to classes extending OnlineStoreCreator, DataSourceCreator, ...
Opengraph URL: https://github.com/feast-dev/feast/issues/4302
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use modular fixture functions for integration test environments","articleBody":"Feast environment creation in integration tests are currently encapsulated in an `Environment` class which defers actual resource creation to classes extending `OnlineStoreCreator`, `DataSourceCreator`, etc.. While this is very flexible, the design leads to performance issues when `Creator` classes need to provision external resources, such as docker containers. There's no way to reuse containers between environments and the extra load often leads to tests being flaky.\r\n\r\nAn alternative is to redesign environment creation to use modular pytest fixture functions (fixtures depending on other fixtures). This will allow for root fixtures that are responsible for docker containers to be scoped to full sessions rather than individual tests.","author":{"url":"https://github.com/tokoko","@type":"Person","name":"tokoko"},"datePublished":"2024-06-21T09:53:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/4302/feast/issues/4302"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5eee33d5-5250-bcc4-9c06-267f99718a17 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8ABC:A471E:BC2B00:105F276:6970BCCB |
| html-safe-nonce | b225681c529531bea7cd597e1a44c0ab3202abd0b356d4e8f4d68923f343937f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUJDOkE0NzFFOkJDMkIwMDoxMDVGMjc2OjY5NzBCQ0NCIiwidmlzaXRvcl9pZCI6IjQ4MjE3Mzg5MDc3MDUwNjQ2NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 88465ccd05f6f667cf500b315b809612926d8b20ecc451095e646a600bbf5463 |
| hovercard-subject-tag | issue:2366171759 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/4302/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7c2ba6b7b9719901c0d17f82c137bdb3abf22cbe77a203704902f8c64bded936/feast-dev/feast/issues/4302 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c2ba6b7b9719901c0d17f82c137bdb3abf22cbe77a203704902f8c64bded936/feast-dev/feast/issues/4302 |
| og:image:alt | Feast environment creation in integration tests are currently encapsulated in an Environment class which defers actual resource creation to classes extending OnlineStoreCreator, DataSourceCreator, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tokoko |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8e0be80373b724b033cdf8a7b1f78bf5fb6a5d7a2182a9a403aa30894606e390 |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84d9d5bf3b01412ea10f7c2429cbfc735ccce9ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width