mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
update get status example, update test
This commit is contained in:
parent
1dcafcff6c
commit
58fc815b46
@ -658,9 +658,11 @@ Let's have 5 minute of compute access
|
|||||||
<!--
|
<!--
|
||||||
assert(computeJobs, 'Cannot start compute job')
|
assert(computeJobs, 'Cannot start compute job')
|
||||||
-->
|
-->
|
||||||
Let's save the compute job it, we re going to use later
|
Let's save the compute job id, we re going to use later
|
||||||
|
We can also save the agreementId. Its another optional field that we can later use to retrieve the job status
|
||||||
```Typescript
|
```Typescript
|
||||||
computeJobId = computeJobs[0].jobId
|
computeJobId = computeJobs[0].jobId
|
||||||
|
agreementId = computeJobs[0].agreementId
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -655,8 +655,6 @@ describe('Compute-to-data example tests', async () => {
|
|||||||
algo
|
algo
|
||||||
)
|
)
|
||||||
|
|
||||||
console.log('COMPUTE JOBS', computeJobs)
|
|
||||||
|
|
||||||
/// ```
|
/// ```
|
||||||
/// <!--
|
/// <!--
|
||||||
assert(computeJobs, 'Cannot start compute job')
|
assert(computeJobs, 'Cannot start compute job')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user