Skip to content

Commit

Permalink
Add test prefix for projects created in helm test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidheryanto committed Mar 13, 2020
1 parent 392fad1 commit c54faf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c54faf4

Please sign in to comment.