diff --git a/devops/Makefile b/devops/Makefile index 599ceda8..f49d21b6 100644 --- a/devops/Makefile +++ b/devops/Makefile @@ -53,7 +53,7 @@ ifeq ($(SRC_DIR_NAME),sovtoken) # pypi: indy-plenum # apt: indy-plenum (stable component) -FPM_P_DEPENDS := indy-node(=1.11.0~dev1120) +FPM_P_DEPENDS := indy-node(=1.11.0~dev1122) FPM_ARGS := --no-python-dependencies $(FPM_ARGS) endif diff --git a/sovtoken/setup.py b/sovtoken/setup.py index b3bf313c..8db47af5 100644 --- a/sovtoken/setup.py +++ b/sovtoken/setup.py @@ -38,7 +38,7 @@ '*.css', '*.ico', '*.png', 'LICENSE', 'LEGAL', 'sovtoken']}, include_package_data=True, - install_requires=['indy-node==1.11.0.dev1120'], + install_requires=['indy-node==1.11.0.dev1122'], setup_requires=['pytest-runner'], extras_require={ diff --git a/sovtoken/sovtoken/test/conftest.py b/sovtoken/sovtoken/test/conftest.py index b0a62f60..2f178a32 100644 --- a/sovtoken/sovtoken/test/conftest.py +++ b/sovtoken/sovtoken/test/conftest.py @@ -11,6 +11,7 @@ from plenum.test.conftest import get_data_for_role, get_payload_data from sovtoken.test.helper import send_get_utxo, send_xfer from sovtoken.test.helpers import form_helpers, libloader +from indy_common.test.conftest import tconf as _tconf from indy_node.test.conftest import * from indy.did import create_and_store_my_did from indy.ledger import build_nym_request, sign_and_submit_request @@ -35,6 +36,17 @@ def build_wallets_from_data(name_seeds): return wallets +@pytest.fixture(scope="module") +def tconf(_tconf): + oldMax3PCBatchSize = _tconf.Max3PCBatchSize + oldMax3PCBatchWait = _tconf.Max3PCBatchWait + _tconf.Max3PCBatchSize = 1000 + _tconf.Max3PCBatchWait = 1 + yield _tconf + _tconf.Max3PCBatchSize = oldMax3PCBatchSize + _tconf.Max3PCBatchWait = oldMax3PCBatchWait + + @pytest.fixture(scope="module") def SF_token_wallet(): return TokenWallet('SF_MASTER') diff --git a/sovtokenfees/sovtokenfees/test/conftest.py b/sovtokenfees/sovtokenfees/test/conftest.py index 8a852ad5..16b1c5dd 100644 --- a/sovtokenfees/sovtokenfees/test/conftest.py +++ b/sovtokenfees/sovtokenfees/test/conftest.py @@ -15,6 +15,7 @@ from sovtoken.test.conftest import sdk_trustees, sdk_stewards # fixtures, do not remove +from indy_common.test.conftest import tconf as _tconf from indy_node.test.conftest import * from sovtoken.constants import ( @@ -88,6 +89,17 @@ def __call__(self, *args, **kwargs): # ###################### +@pytest.fixture(scope="module") +def tconf(_tconf): + oldMax3PCBatchSize = _tconf.Max3PCBatchSize + oldMax3PCBatchWait = _tconf.Max3PCBatchWait + _tconf.Max3PCBatchSize = 1000 + _tconf.Max3PCBatchWait = 1 + yield _tconf + _tconf.Max3PCBatchSize = oldMax3PCBatchSize + _tconf.Max3PCBatchWait = oldMax3PCBatchWait + + @pytest.fixture(scope="module") def fees(request): default_fees = {