Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
tests: remove explicit local storage tests (#8685)
Browse files Browse the repository at this point in the history
* tests: remove explicit local storage tests

* chore: remove unused imports

* feat: remove dev mode in s3 put object

* [wip] storageprovider test: try skipping putting 1000 objects

* chore: remove unused minio package

* regression: use minio client and persist content type

* revert: add removed minio

* revert: put and get over 1000 objects
  • Loading branch information
aditya-mitra authored Sep 13, 2023
1 parent 2c2f6be commit fe2d2ae
Show file tree
Hide file tree
Showing 7 changed files with 275 additions and 563 deletions.
1 change: 1 addition & 0 deletions .env.local.default
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ VITE_APP_HOST=localhost
VITE_APP_PORT=3000
# Use following value for minio s3 provider
VITE_FILE_SERVER=https://localhost:9000/etherealengine-static-resources
VITE_TEST_FILE_SERVER=https://localhost:9000/etherealengine-static-resources-test
# Use following value for local file server
#VITE_FILE_SERVER=https://localhost:8642
VITE_SERVER_HOST=localhost
Expand Down
5 changes: 4 additions & 1 deletion packages/common/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ const client = {
localBuildOrDev && globalThis.process.env['VITE_LOCAL_NGINX'] !== 'true'
? `https://${globalThis.process.env['VITE_INSTANCESERVER_HOST']}:${globalThis.process.env['VITE_INSTANCESERVER_PORT']}`
: `https://${globalThis.process.env['VITE_INSTANCESERVER_HOST']}`,
fileServer: globalThis.process.env['VITE_FILE_SERVER'] ?? 'https://localhost:8642',
fileServer:
globalThis.process.env['TEST'] === 'true'
? globalThis.process.env['VITE_TEST_FILE_SERVER']
: globalThis.process.env['VITE_FILE_SERVER'] ?? 'https://localhost:8642',
mediatorServer: globalThis.process.env['VITE_MEDIATOR_SERVER'],
cors: {
proxyUrl:
Expand Down
2 changes: 1 addition & 1 deletion packages/server-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@
"@types/pug": "2.0.6"
},
"gitHead": "2313453697ca7c6b8d36b3b166b5a6445fe1c851"
}
}
Loading

0 comments on commit fe2d2ae

Please sign in to comment.