[test] Move direct URL test to cover all specialDirs; Use storageFolderName to verify fix from d4658ce

This commit is contained in:
Sergey Konovalov
2025-06-19 12:31:59 +03:00
parent 40654b7eb2
commit 8702a1585b
4 changed files with 32 additions and 55 deletions

View File

@ -60,14 +60,7 @@ jobs:
"secretAccessKey": "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="
},
"persistentStorage": {
"name": "storage-az",
"region": "",
"endpoint": "http://127.0.0.1:10000/devstoreaccount1",
"bucketName": "test-container",
"storageFolderName": "files",
"cacheFolderName": "data",
"accessKeyId": "devstoreaccount1",
"secretAccessKey": "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="
"storageFolderName": "files/persistent"
}
}
EOF
@ -113,6 +106,4 @@ jobs:
"
- name: Run storage tests
run: |
cd ./DocService
npx jest ../tests/integration/withServerInstance/storage.tests.js --inject-globals=false --config=../tests/jest.config.js
run: npm run storage-tests

View File

@ -54,13 +54,7 @@ jobs:
"forcePathStyle": true
},
"persistentStorage": {
"name": "storage-s3",
"region": "us-east-1",
"endpoint": "http://localhost:9000",
"accessKeyId": "minioadmin",
"secretAccessKey": "minioadmin",
"bucket": "cache",
"forcePathStyle": true
"storageFolderName": "files/persistent"
}
}' >> Common/config/local.json
@ -70,6 +64,4 @@ jobs:
docker exec minio mc mb myminio/cache
- name: Run storage tests
run: |
cd ./DocService
npx jest ../tests/integration/withServerInstance/storage.tests.js --inject-globals=false --config=../tests/jest.config.js
run: npm run storage-tests