From 7e263a0426193becd457b53e96d98f1f7be40bcf Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Tue, 10 Dec 2024 16:04:56 -0800 Subject: [PATCH] Add relational_db to resources list for automatic provision time collection. PiperOrigin-RevId: 704878968 --- perfkitbenchmarker/benchmark_spec.py | 1 + 1 file changed, 1 insertion(+) diff --git a/perfkitbenchmarker/benchmark_spec.py b/perfkitbenchmarker/benchmark_spec.py index 5f32e7d39..eb63a2e19 100644 --- a/perfkitbenchmarker/benchmark_spec.py +++ b/perfkitbenchmarker/benchmark_spec.py @@ -405,6 +405,7 @@ def ConstructRelationalDb(self): relational_db_class.GetDefaultEngineVersion(engine) ) self.relational_db = relational_db_class(self.config.relational_db) + self.resources.append(self.relational_db) def ConstructNonRelationalDb(self) -> None: """Initializes the non_relational db."""