Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix tests
Signed-off-by: Achal Shah <achals@gmail.com>
  • Loading branch information
achals committed Jul 14, 2022
commit 0f93f306c9dac3a82656564695f070db49d2cfbd
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def teardown_infra(
entities: Sequence[Entity],
):
# This should be tearing down the lambda function.
logger.info("Tearing down lambda %s: %s", self.lambda_name)
logger.info("Tearing down lambda %s", self.lambda_name)
r = self.lambda_client.delete_function(FunctionName=self.lambda_name)
logger.info("Finished tearing down lambda %s: %s", self.lambda_name, r)

Expand All @@ -139,6 +139,8 @@ def __init__(
)

self.lambda_name = f"feast-materialize-{self.repo_config.project}"
if len(self.lambda_name) > 64:
self.lambda_name = self.lambda_name[:64]
self.lambda_client = boto3.client("lambda")

def materialize(
Expand Down