Skip to content

Commit

Permalink
debugging clean up function
Browse files Browse the repository at this point in the history
  • Loading branch information
austin-denoble committed Aug 21, 2024
1 parent 2b493dd commit 39fb132
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pinecone/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1213,6 +1213,10 @@ func (ts *IntegrationTests) deleteIndex(name string) error {
_, err := WaitUntilIndexReady(ts, context.Background())
require.NoError(ts.T(), err)

index, err := ts.client.DescribeIndex(context.Background(), name)
require.NoError(ts.T(), err)
fmt.Printf("<<< TRYING TO DELETE INDEX >>> : %+v\n", index)

err = ts.client.DeleteIndex(context.Background(), name)
require.NoError(ts.T(), err)
return nil
Expand Down

0 comments on commit 39fb132

Please sign in to comment.