You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: [#342] SQLite data file path inside the container for E2E tests
The SQLite file path inside the container is not the same as on hte
host:
In the container:
`sqlite:///var/lib/torrust/index/database/sqlite3.db?mode=rwc`
It's an absolute path.
From the host:
`sqlite://./storage/index/lib/database/sqlite3.db?mode=rwc`
It's a relative path to where the test are being executed (root project path).
TODO: inject as an env var when running the E2E tests isntead of parsing
the config file.
```
TORRUST_INDEX_E2E_SHARED=true TORRUST_INDEX_E2E_PATH_CONFIG="./share/default/config/index.container.sqlite3.toml" cargo test
```
0 commit comments