Skip to content

Commit

Permalink
fix: rename test db to resolve conflicts with quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
t0t07 committed Nov 15, 2021
1 parent 4d56ac1 commit 337df78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion featctl/test/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ onestore: &onestore
port: 5432
user: postgres
password: postgres
database: oomstore
database: oomstore_test

online-store: *onestore
offline-store: *onestore
Expand Down
4 changes: 2 additions & 2 deletions featctl/test/start_playground.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env bash

docker run --rm -d --name oomstore \
docker run --rm -d --name oomstore_test \
-e POSTGRES_PASSWORD=postgres \
-e POSTGRES_USER=postgres \
-p 5432:5432 \
postgres:14.0-alpine >/dev/null

docker logs -f oomstore
docker logs -f oomstore_test
2 changes: 1 addition & 1 deletion featctl/test/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ init_store() {
info "initialize feature store"

# destroy database
execute_sql 'drop database if exists oomstore'
execute_sql 'drop database if exists oomstore_test'

# initialize feature store
featctl init
Expand Down

0 comments on commit 337df78

Please sign in to comment.