mirror of
https://github.com/Drop-OSS/droplet.git
synced 2025-11-10 04:22:16 +10:00
fix manifest generation test
fixed the manifest generation test and re-enabled the test failure on the test CI/CD
This commit is contained in:
@ -34,7 +34,6 @@ build-windows:
|
|||||||
test-linux:
|
test-linux:
|
||||||
stage: test
|
stage: test
|
||||||
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/node:lts-bookworm
|
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/node:lts-bookworm
|
||||||
allow_failure: true
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- build-linux
|
- build-linux
|
||||||
script:
|
script:
|
||||||
|
|||||||
@ -33,13 +33,12 @@ test("numerous small file", async (t) => {
|
|||||||
|
|
||||||
// Check the first few checksums
|
// Check the first few checksums
|
||||||
const checksums = [
|
const checksums = [
|
||||||
"4b82be835c1f2bc3a447e7c6965c3979",
|
"cfcd208495d565ef66e7dff9f98764da",
|
||||||
"763807ecb543f8417dc1388aa9c669e9",
|
"c4ca4238a0b923820dcc509a6f75849b",
|
||||||
"21981611048001c07cdbd95200a15a31",
|
"c81e728d9d4c2f636f067f89cc14862c",
|
||||||
];
|
];
|
||||||
for (let index in checksums) {
|
for (let index in checksums) {
|
||||||
const entry = manifest[index.toString()];
|
const entry = manifest[index.toString()];
|
||||||
console.log(`Entry: ${entry}`);
|
|
||||||
if (!entry) return t.fail(`manifest missing file ${index}`);
|
if (!entry) return t.fail(`manifest missing file ${index}`);
|
||||||
|
|
||||||
const checksum = entry.checksums[0];
|
const checksum = entry.checksums[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user