Change test batch size
@@ -9,7 +9,7 @@ from plenum.test.helper import sdk_signed_random_requests, sdk_send_and_check
def tconf(tconf, request):
oldSize = tconf.Max3PCBatchSize
oldTimeout = tconf.Max3PCBatchWait
- tconf.Max3PCBatchSize = 10
+ tconf.Max3PCBatchSize = 3
tconf.Max3PCBatchWait = 1
def reset():
@@ -34,6 +34,6 @@ def test_catchup_during_3pc_continue_sending(tconf, looper, txnPoolNodeSet, sdk_
checkNodesHaveSameRoots(txnPoolNodeSet)
# send another requests and check that they are received
- reqs = sdk_signed_random_requests(looper, sdk_wallet_client, 2 * tconf.Max3PCBatchSize - 2)
+ reqs = sdk_signed_random_requests(looper, sdk_wallet_client, 2 * tconf.Max3PCBatchSize)
sdk_send_and_check(reqs, looper, txnPoolNodeSet, sdk_pool_handle)
checkNodesHaveSameRoots(txnPoolNodeSet)
