Skip to content

Commit

Permalink
Relaxed a testing constraint.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-cohere committed Mar 5, 2024
1 parent 9358f9b commit 058e771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/tasks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,11 @@ func (t *SerialTests) TestCreateTask() {
assert.Nil(err)
assert.Equal(TransferStatusUnknown, status.Code)

// make sure the status switches to staging
// make sure the status switches to staging or active
time.Sleep(pause + pollInterval)
status, err = Status(taskId)
assert.Nil(err)
assert.Equal(TransferStatusStaging, status.Code)
assert.True(status.Code == TransferStatusStaging || status.Code == TransferStatusActive)

// wait for the staging to complete and then check its status
// again (should be actively transferring)
Expand Down

0 comments on commit 058e771

Please sign in to comment.