Skip to content

Commit

Permalink
add sleep before delete in test
Browse files Browse the repository at this point in the history
  • Loading branch information
kwadhwa18 committed Apr 7, 2019
1 parent 8c99fa0 commit e02c7f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/rockset_go_test.go
Expand Up @@ -5,6 +5,7 @@ import (
"strconv"
"os"
"testing"
"time"

apiclient "github.com/rockset/rockset-go-client"
assert "github.com/stretchr/testify/require"
Expand Down Expand Up @@ -33,6 +34,8 @@ func TestCollection(t *testing.T) {
}

{
time.Sleep(5 * time.Second)

// delete collection
res, _, err := client.Collection.Delete(name)

Expand Down

0 comments on commit e02c7f0

Please sign in to comment.