From 172395eb31aa4cd2ee6b9752f01cc86e3de75c61 Mon Sep 17 00:00:00 2001 From: cole perez Date: Mon, 9 Dec 2024 13:20:43 -0800 Subject: [PATCH] Add support for multiregion aurora --- service_capacity_modeling/models/org/netflix/postgres.py | 1 - tests/netflix/test_postgres.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/service_capacity_modeling/models/org/netflix/postgres.py b/service_capacity_modeling/models/org/netflix/postgres.py index a2a388d..573e516 100644 --- a/service_capacity_modeling/models/org/netflix/postgres.py +++ b/service_capacity_modeling/models/org/netflix/postgres.py @@ -4,7 +4,6 @@ from typing import Tuple from .aurora import nflx_aurora_capacity_model -from .crdb import nflx_cockroachdb_capacity_model from service_capacity_modeling.interface import AccessConsistency from service_capacity_modeling.interface import AccessPattern from service_capacity_modeling.interface import CapacityDesires diff --git a/tests/netflix/test_postgres.py b/tests/netflix/test_postgres.py index 60b607d..071a5cc 100644 --- a/tests/netflix/test_postgres.py +++ b/tests/netflix/test_postgres.py @@ -126,9 +126,10 @@ def test_large_footprint(): desires=large_footprint, num_regions=1, ) - #Aurora cannot handle the scale, so don't recommend anything + # Aurora cannot handle the scale, so don't recommend anything assert cap_plan == [] + def test_tier_3(): cap_plan = planner.plan_certain( model_name="org.netflix.postgres",