Skip to content

Commit

Permalink
delete flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulmet authored Aug 7, 2023
1 parent 681277e commit c978148
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/task.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,13 +434,11 @@ describe.each([{ permission: 'Master' }, { permission: 'Admin' }])(
uids: [addDocuments.taskUid],
})
const task = await client.waitForTask(enqueuedTask.taskUid)
const canceledTask = await client.getTask(addDocuments.taskUid)

expect(task.type).toEqual(TaskTypes.TASK_CANCELATION)
expect(task.details?.originalFilter).toContain('uids=')
expect(task.details?.matchedTasks).toBeDefined()
expect(task.details?.canceledTasks).toBeDefined()
expect(canceledTask.status).toBe(TaskStatus.TASK_CANCELED)
})

// cancel: indexUid
Expand Down

0 comments on commit c978148

Please sign in to comment.