feat(fisherman): 🌎 batch file deletions #483
Annotations
5 errors and 1 notice
|
Run FullNet tests
Process completed with exit code 1.
|
|
Run FullNet tests:
test/test/suites/integration/msp/duplicate-storage-request.test.ts#L440
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
waitFor({
lambda: async () => {
// Check file is NOT in BSP forest
const bspForestResult = await bspApi.rpc.storagehubclient.isFileInForest(
null,
file1.fileKey
);
if (bspForestResult.isTrue) {
return false;
}
// Check file is NOT in BSP file storage
const bspFileStorageResult = await bspApi.rpc.storagehubclient.isFileInFileStorage(
file1.fileKey
);
if (bspFileStorageResult.isFileFound) {
return false;
}
// Check file is NOT in MSP forest
const mspForestResult = await mspApi.rpc.storagehubclient.isFileInForest(
file2.bucketId,
file1.fileKey
);
if (mspForestResult.isTrue) {
return false;
}
// Check file is NOT in MSP file storage
const mspFileStorageResult = await mspApi.rpc.storagehubclient.isFileInFileStorage(
file1.fileKey
);
if (mspFileStorageResult.isFileFound) {
return false;
}
return true;
}
})
at TestContext.<anonymous> (/home/runner/_work/storage-hub/storage-hub/test/suites/integration/msp/duplicate-storage-request.test.ts:440:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1054:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:744:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
|
|
Run FullNet tests:
test/test/suites/integration/msp/duplicate-storage-request.test.ts#L368
Error: Timeout waiting for fisherman to process User deletions after 25 seconds
at waitForFishermanBatchDeletions (/home/runner/_work/storage-hub/storage-hub/test/util/bspNet/fisherman.ts:503:17)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Module.retryableWaitAndVerifyBatchDeletions (/home/runner/_work/storage-hub/storage-hub/test/util/bspNet/fisherman.ts:555:28)
at async TestContext.<anonymous> (/home/runner/_work/storage-hub/storage-hub/test/suites/integration/msp/duplicate-storage-request.test.ts:368:7)
at async Test.run (node:internal/test_runner/test:1054:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:744:7)
|
|
Run FullNet tests:
test/test/suites/integration/msp/duplicate-storage-request.test.ts#L440
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
waitFor({
lambda: async () => {
// Check file is NOT in BSP forest
const bspForestResult = await bspApi.rpc.storagehubclient.isFileInForest(
null,
file1.fileKey
);
if (bspForestResult.isTrue) {
return false;
}
// Check file is NOT in BSP file storage
const bspFileStorageResult = await bspApi.rpc.storagehubclient.isFileInFileStorage(
file1.fileKey
);
if (bspFileStorageResult.isFileFound) {
return false;
}
// Check file is NOT in MSP forest
const mspForestResult = await mspApi.rpc.storagehubclient.isFileInForest(
file2.bucketId,
file1.fileKey
);
if (mspForestResult.isTrue) {
return false;
}
// Check file is NOT in MSP file storage
const mspFileStorageResult = await mspApi.rpc.storagehubclient.isFileInFileStorage(
file1.fileKey
);
if (mspFileStorageResult.isFileFound) {
return false;
}
return true;
}
})
at TestContext.<anonymous> (/home/runner/_work/storage-hub/storage-hub/test/suites/integration/msp/duplicate-storage-request.test.ts:440:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1054:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:744:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
|
|
Run FullNet tests:
test/test/suites/integration/msp/duplicate-storage-request.test.ts#L368
Error: Timeout waiting for fisherman to process User deletions after 25 seconds
at waitForFishermanBatchDeletions (/home/runner/_work/storage-hub/storage-hub/test/util/bspNet/fisherman.ts:503:17)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Module.retryableWaitAndVerifyBatchDeletions (/home/runner/_work/storage-hub/storage-hub/test/util/bspNet/fisherman.ts:555:28)
at async TestContext.<anonymous> (/home/runner/_work/storage-hub/storage-hub/test/suites/integration/msp/duplicate-storage-request.test.ts:368:7)
at async Test.run (node:internal/test_runner/test:1054:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:744:7)
|
|
Run FullNet tests
Total Tests: 32
Suites 📂: 5
Passed ✅: 28
Failed ❌: 4
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 392064.469ms
|
Loading