mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
removed unnecesar logs
This commit is contained in:
parent
219d4b4a1e
commit
610d15b2b4
@ -472,7 +472,6 @@ describe('Simple compute tests', async () => {
|
|||||||
providerUrl,
|
providerUrl,
|
||||||
consumerAccount
|
consumerAccount
|
||||||
)
|
)
|
||||||
console.log('initalize compute 1st run', providerInitializeComputeResults)
|
|
||||||
assert(
|
assert(
|
||||||
!('error' in providerInitializeComputeResults.algorithm),
|
!('error' in providerInitializeComputeResults.algorithm),
|
||||||
'Cannot order algorithm'
|
'Cannot order algorithm'
|
||||||
@ -521,9 +520,6 @@ describe('Simple compute tests', async () => {
|
|||||||
resolvedDdoWith5mTimeout.id
|
resolvedDdoWith5mTimeout.id
|
||||||
)) as ComputeJob
|
)) as ComputeJob
|
||||||
assert(jobStatus, 'Cannot retrieve compute status!')
|
assert(jobStatus, 'Cannot retrieve compute status!')
|
||||||
const mytime = new Date()
|
|
||||||
console.log('my time at compute status call', mytime.getTime() / 1000)
|
|
||||||
console.log('jobStatus', jobStatus)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
// move to start orders with initial txid's and provider fees
|
// move to start orders with initial txid's and provider fees
|
||||||
@ -544,9 +540,6 @@ describe('Simple compute tests', async () => {
|
|||||||
serviceId: resolvedAlgoDdoWith5mTimeout.services[0].id,
|
serviceId: resolvedAlgoDdoWith5mTimeout.services[0].id,
|
||||||
transferTxId: freeEnvAlgoTxId
|
transferTxId: freeEnvAlgoTxId
|
||||||
}
|
}
|
||||||
const mytime = new Date()
|
|
||||||
console.log('my time 2nd run ==', mytime.getTime() / 1000)
|
|
||||||
console.log('compute valid until run 2 ==', computeValidUntil)
|
|
||||||
providerInitializeComputeResults = await ProviderInstance.initializeCompute(
|
providerInitializeComputeResults = await ProviderInstance.initializeCompute(
|
||||||
assets,
|
assets,
|
||||||
algo,
|
algo,
|
||||||
@ -555,10 +548,6 @@ describe('Simple compute tests', async () => {
|
|||||||
providerUrl,
|
providerUrl,
|
||||||
consumerAccount
|
consumerAccount
|
||||||
)
|
)
|
||||||
console.log(
|
|
||||||
'second job providerInitializeComputeResults',
|
|
||||||
providerInitializeComputeResults
|
|
||||||
)
|
|
||||||
assert(
|
assert(
|
||||||
providerInitializeComputeResults.algorithm.validOrder,
|
providerInitializeComputeResults.algorithm.validOrder,
|
||||||
'We should have a valid order for algorithm'
|
'We should have a valid order for algorithm'
|
||||||
@ -665,9 +654,6 @@ describe('Simple compute tests', async () => {
|
|||||||
resolvedDdoWith5mTimeout.id
|
resolvedDdoWith5mTimeout.id
|
||||||
)) as ComputeJob
|
)) as ComputeJob
|
||||||
assert(jobStatus, 'Cannot retrieve compute status!')
|
assert(jobStatus, 'Cannot retrieve compute status!')
|
||||||
const mytime = new Date()
|
|
||||||
console.log('my time at compute status call', mytime.getTime() / 1000)
|
|
||||||
console.log('jobStatus', jobStatus)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should restart a computeJob on paid environment, without paying anything, because order is valid and providerFees are still valid', async () => {
|
it('should restart a computeJob on paid environment, without paying anything, because order is valid and providerFees are still valid', async () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user