From 136bb3dbc44a6bd9a1277caca0c8f52377b4d24c Mon Sep 17 00:00:00 2001
From: Khosrow Afroozeh <parshua@gmail.com>
Date: Wed, 16 Aug 2023 20:24:02 +0200
Subject: [PATCH] Increase BatchPolicy timeouts in tests

---
 batch_test.go | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/batch_test.go b/batch_test.go
index 8de0f966..a0e6eebb 100644
--- a/batch_test.go
+++ b/batch_test.go
@@ -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
 		}