Skip to content

Commit

Permalink
Increase BatchPolicy timeouts in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
khaf committed Aug 16, 2023
1 parent 89be17f commit 136bb3d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions batch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ var _ = gg.Describe("Aerospike", func() {
var bdpolicy = as.NewBatchDeletePolicy()
// bpolicy.AllowInline = true

wpolicy.TotalTimeout = 15 * time.Second
wpolicy.SocketTimeout = 5 * time.Second
rpolicy.TotalTimeout = 15 * time.Second
rpolicy.SocketTimeout = 5 * time.Second
bpolicy.TotalTimeout = 15 * time.Second
bpolicy.SocketTimeout = 5 * time.Second

if *useReplicas {
rpolicy.ReplicaPolicy = as.MASTER_PROLES
}
Expand Down

0 comments on commit 136bb3d

Please sign in to comment.