Skip to content

Commit 0a855a8

Browse files
committed
Fix test
1 parent 59edf11 commit 0a855a8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

examples/stacks/lepp-stack/devbox.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"env": {
1010
"NGINX_WEB_PORT": "8089",
1111
"NGINX_WEB_ROOT": "../../../my_app",
12-
"PGPORT": "5433"
12+
"PGPORT": "5433",
13+
"PGHOST": "/tmp/devbox/lepp"
1314
},
1415
"shell": {
1516
"scripts": {
@@ -22,9 +23,11 @@
2223
"run_test": [
2324
"mkdir -p /tmp/devbox/lepp",
2425
"export PGHOST=/tmp/devbox/lepp",
26+
"rm -rf .devbox/virtenv/postgresql/data",
2527
"initdb",
2628
"devbox services up -b",
27-
"echo 'sleep 2 second for the postgres server to initialize.' && sleep 2",
29+
"echo 'sleep 2 second for the postgres server to initialize.'",
30+
"sleep 2",
2831
"dropdb --if-exists devbox_lepp",
2932
"createdb devbox_lepp",
3033
"psql devbox_lepp < setup_postgres_db.sql",

examples/stacks/lepp-stack/devbox.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"nginx@latest": {
2424
"last_modified": "2023-09-04T16:24:30Z",
25-
"plugin_version": "0.0.3",
25+
"plugin_version": "0.0.4",
2626
"resolved": "github:NixOS/nixpkgs/3c15feef7770eb5500a4b8792623e2d6f598c9c1#nginx",
2727
"source": "devbox-search",
2828
"version": "1.24.0",

0 commit comments

Comments
 (0)