From eb5af3415fc706426c6541980ac0c0c35134f1ef Mon Sep 17 00:00:00 2001 From: Meno Abels Date: Thu, 5 Dec 2024 19:32:57 +0100 Subject: [PATCH] chore: stablize the smoke test --- package-fireproof-core.json | 1 - smoke/esm/it.sh | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package-fireproof-core.json b/package-fireproof-core.json index e8511ebc..3dbad73b 100644 --- a/package-fireproof-core.json +++ b/package-fireproof-core.json @@ -55,7 +55,6 @@ "@adviser/cement": "from-package-json", "@fireproof/vendor": "from-package-json", "@ipld/unixfs": "from-package-json", - "cborg": "from-package-json", "multiformats": "from-package-json", "charwise": "from-package-json", "prolly-trees": "from-package-json", diff --git a/smoke/esm/it.sh b/smoke/esm/it.sh index 131a4746..7014ee15 100644 --- a/smoke/esm/it.sh +++ b/smoke/esm/it.sh @@ -12,13 +12,15 @@ fi $dockerCompose up -d packageDir=../../dist/fireproof-core +user="admin$(date +%s)" token=$(curl \ --retry 10 --retry-max-time 30 --retry-all-errors \ -X PUT \ -H "Content-type: application/json" \ - -d '{ "name": "admin", "password": "admin" }' \ - 'http://localhost:4873/-/user/org.couchdb.user:admin' | jq .token) + -d "{ \"name\": \"$user\", \"password\": \"admin\" }" \ + 'http://localhost:4873/-/user/org.couchdb.user:$user' | jq .token) +echo "Token: $user:$token" cat < $packageDir/.npmrc ; .npmrc enable-pre-post-scripts=true