Try fixing E2E

This commit is contained in:
Andras Schmelczer 2025-03-18 20:48:49 +00:00
parent e35af96db6
commit f07f372bc5
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
4 changed files with 16 additions and 7 deletions

1
.gitignore vendored
View file

@ -11,7 +11,6 @@ frontend/*/dist
backend/db.sqlite3* backend/db.sqlite3*
backend/databases backend/databases
backend/config.yml
*.log *.log

View file

@ -1,9 +1,6 @@
target target
Dockerfile Dockerfile
.dockerignore .dockerignore
db.sqlite3* databases
*.log
sync_lib/pkg sync_lib/pkg
fuzz/artifacts config.yml
fuzz/corpus
fuzz/coverage

13
backend/config.yml Normal file
View file

@ -0,0 +1,13 @@
database:
databases_directory_path: databases
max_connections: 12
server:
host: 0.0.0.0
port: 3000
max_body_size_mb: 512
users:
user_tokens:
- name: admin
token: test-token-change-me
- name: test
token: token

View file

@ -27,7 +27,7 @@ async function runTest({
const initialSettings: Partial<SyncSettings> = { const initialSettings: Partial<SyncSettings> = {
isSyncEnabled: true, isSyncEnabled: true,
token: "token", token: "test-token-change-me", // same as in backend/config.yml
vaultName: uuidv4(), vaultName: uuidv4(),
syncConcurrency: concurrency, syncConcurrency: concurrency,
remoteUri: "http://localhost:3000" remoteUri: "http://localhost:3000"