mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
remove console logs
This commit is contained in:
parent
c7e402e71e
commit
4cf4bb3b07
@ -497,32 +497,9 @@ describe('Simple compute tests', async () => {
|
||||
freeEnvAlgoTxId = algo.transferTxId
|
||||
assert(computeJobs, 'Cannot start compute job')
|
||||
computeJobId = computeJobs[0].jobId
|
||||
|
||||
for (let index = 0; index < 10; index++) {
|
||||
await sleep(1000)
|
||||
const jobStatus = (await ProviderInstance.computeStatus(
|
||||
providerUrl,
|
||||
consumerAccount,
|
||||
computeJobId,
|
||||
resolvedDdoWith1mTimeout.id
|
||||
)) as ComputeJob
|
||||
console.log('job status after 1 sec', jobStatus)
|
||||
}
|
||||
})
|
||||
|
||||
it('should restart a computeJob without paying anything, because order is valid and providerFees are still valid', async () => {
|
||||
// wait 1 min time so the other compute job finishes his job
|
||||
for (let index = 0; index < 15; index++) {
|
||||
await sleep(1000)
|
||||
const jobStatus = (await ProviderInstance.computeStatus(
|
||||
providerUrl,
|
||||
consumerAccount,
|
||||
computeJobId,
|
||||
resolvedDdoWith1mTimeout.id
|
||||
)) as ComputeJob
|
||||
console.log('log job status again: ', jobStatus)
|
||||
}
|
||||
|
||||
// we choose the free env
|
||||
const computeEnv = computeEnvs.find((ce) => ce.priceMin === 0)
|
||||
assert(computeEnv, 'Cannot find the free compute env')
|
||||
|
Loading…
x
Reference in New Issue
Block a user