Fix DT tests related to order.
This commit is contained in:
parent
61f20946c7
commit
1685588d4f
|
@ -70,7 +70,9 @@ jobs:
|
||||||
env:
|
env:
|
||||||
ADDRESS_FILE: /home/runner/.ocean/ocean-contracts/artifacts/address.json
|
ADDRESS_FILE: /home/runner/.ocean/ocean-contracts/artifacts/address.json
|
||||||
BARGE_FOLDER: /home/runner/.ocean/
|
BARGE_FOLDER: /home/runner/.ocean/
|
||||||
- run: npm run test-publish-consume
|
- run: |
|
||||||
|
npm run test-publish-consume
|
||||||
|
npm run test-dt
|
||||||
env:
|
env:
|
||||||
ADDRESS_FILE: /home/runner/.ocean/ocean-contracts/artifacts/address.json
|
ADDRESS_FILE: /home/runner/.ocean/ocean-contracts/artifacts/address.json
|
||||||
BARGE_FOLDER: /home/runner/.ocean/
|
BARGE_FOLDER: /home/runner/.ocean/
|
||||||
|
|
|
@ -423,7 +423,9 @@ describe('Datatoken tests', async () => {
|
||||||
setProviderFee
|
setProviderFee
|
||||||
)
|
)
|
||||||
assert(orderTx, 'Invalid orderTx')
|
assert(orderTx, 'Invalid orderTx')
|
||||||
const orderId = `${orderTx.transactionHash.toLowerCase()}-${newDtAddress.toLowerCase()}-${user1.toLowerCase()}-${orderTx.events.OrderStarted.logIndex.toString()}`
|
const orderId = `${orderTx.transactionHash.toLowerCase()}-${newDtAddress.toLowerCase()}-${user1.toLowerCase()}-${orderTx.events.OrderStarted.logIndex.toFixed(
|
||||||
|
1
|
||||||
|
)}`
|
||||||
|
|
||||||
await sleep(3000)
|
await sleep(3000)
|
||||||
response = await fetch(subgraphUrl, {
|
response = await fetch(subgraphUrl, {
|
||||||
|
|
Loading…
Reference in New Issue