From 557289e5f2c3a667abb6645a07c8342be881c186 Mon Sep 17 00:00:00 2001 From: paulo-ocean Date: Fri, 28 Jun 2024 12:23:11 +0100 Subject: [PATCH] put timeout back and test order,mut be ipfs side temporary --- test/integration/PublishEditConsume.test.ts | 30 ++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/test/integration/PublishEditConsume.test.ts b/test/integration/PublishEditConsume.test.ts index 67bd7fa8..48ce54b9 100644 --- a/test/integration/PublishEditConsume.test.ts +++ b/test/integration/PublishEditConsume.test.ts @@ -211,20 +211,6 @@ describe('Publish consume test', async () => { assert(urlAssetId, 'Failed to publish url DDO') }) - it('Should publish arwave asset', async () => { - arweaveAssetId = await createAsset( - 'ArweaveDatatoken', - 'ARWEAVEDT', - publisherAccount, - arweaveFile, - assetDdo, - providerUrl, - addresses.ERC721Factory, - aquarius - ) - assert(arweaveAssetId, 'Failed to publish ipfs DDO') - }) - it('Should publish ipfs asset', async () => { ipfsAssetId = await createAsset( 'IpfsDatatoken', @@ -239,6 +225,20 @@ describe('Publish consume test', async () => { assert(ipfsAssetId, 'Failed to publish ipfs DDO') }) + it('Should publish arwave asset', async () => { + arweaveAssetId = await createAsset( + 'ArweaveDatatoken', + 'ARWEAVEDT', + publisherAccount, + arweaveFile, + assetDdo, + providerUrl, + addresses.ERC721Factory, + aquarius + ) + assert(arweaveAssetId, 'Failed to publish ipfs DDO') + }) + it('Should publish onchain asset', async () => { const chainFile: Smartcontract = { type: 'smartcontract', @@ -380,7 +380,7 @@ describe('Publish consume test', async () => { providerUrl ) assert(ipfsOrderTx, 'Ordering ipfs dataset failed.') - }).timeout(60000) + }).timeout(40000) it('Should order onchain dataset', async () => { onchainOrderTx = await orderAsset(