From c54faf4a4bdae82aba161d50ec50afdaa5465782 Mon Sep 17 00:00:00 2001 From: David Heryanto Date: Fri, 13 Mar 2020 10:00:43 +0800 Subject: [PATCH] Add test prefix for projects created in helm test --- .../charts/feast/templates/tests/test-feast-batch-serving.yaml | 2 +- .../charts/feast/templates/tests/test-feast-online-serving.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/charts/feast/templates/tests/test-feast-batch-serving.yaml b/infra/charts/feast/templates/tests/test-feast-batch-serving.yaml index 7c4f2075b9..2fb8ff25c9 100644 --- a/infra/charts/feast/templates/tests/test-feast-batch-serving.yaml +++ b/infra/charts/feast/templates/tests/test-feast-batch-serving.yaml @@ -45,7 +45,7 @@ spec: pd.set_option("display.max_columns", 10) client = Client(core_url=os.getenv("FEAST_CORE_ADDR"), serving_url=os.getenv("FEAST_SERVING_ADDR")) - project = f"project_{int(time.time() / 3600)}" + project = f"testproject_{int(time.time() / 3600)}" if project not in client.list_projects(): client.create_project(project) client.set_project(project) diff --git a/infra/charts/feast/templates/tests/test-feast-online-serving.yaml b/infra/charts/feast/templates/tests/test-feast-online-serving.yaml index 292bb49713..f0db380117 100644 --- a/infra/charts/feast/templates/tests/test-feast-online-serving.yaml +++ b/infra/charts/feast/templates/tests/test-feast-online-serving.yaml @@ -45,7 +45,7 @@ spec: pd.set_option("display.max_columns", 10) client = Client(core_url=os.getenv("FEAST_CORE_ADDR"), serving_url=os.getenv("FEAST_SERVING_ADDR")) - project = f"project_{int(time.time() / 3600)}" + project = f"testproject_{int(time.time() / 3600)}" if project not in client.list_projects(): client.create_project(project) client.set_project(project)