Skip to content

Commit 85a7492

Browse files
authored
Merge pull request #656 from anikitinDSR/jsonpickle_version
Jsonpickle version
2 parents 59fb740 + ba32f0b commit 85a7492

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

build-scripts/ubuntu-1604/build-3rd-parties.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,6 @@ build_from_pypi leveldb 0.194
8080
build_from_pypi psutil 5.4.3
8181
build_from_pypi pyzmq 17.0.0
8282
build_from_pypi intervaltree 2.1.0
83+
build_from_pypi jsonpickle 0.9.6
8384
# TODO: add libsnappy dependency for python-rocksdb package
8485
build_from_pypi python-rocksdb 0.6.9

plenum/test/client/test_faulty_client_with_faulty_node.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,21 @@
1313

1414

1515
@pytest.fixture(scope="module")
16-
def nodeChangesRequest(txnPoolNodeSet):
17-
alpha = txnPoolNodeSet[0]
16+
def txnPoolNodeSet(txnPoolNodeSet):
17+
delta = txnPoolNodeSet[-1]
18+
assert not delta.master_replica.isPrimary
1819

1920
# Alpha should not be blacklisted for Invalid Signature by all other nodes
20-
whitelistNode(alpha.name,
21-
[node for node in txnPoolNodeSet if node != alpha],
21+
whitelistNode(delta.name,
22+
[node for node in txnPoolNodeSet if node != delta],
2223
InvalidSignature.code)
23-
makeNodeFaulty(alpha, changesRequest, )
24-
for node in txnPoolNodeSet[3:]: node.clientstack.stop()
24+
makeNodeFaulty(delta, changesRequest, )
25+
txnPoolNodeSet[2].clientstack.stop()
26+
return txnPoolNodeSet
2527

2628

2729
# noinspection PyIncorrectDocstring,PyUnusedLocal,PyShadowingNames
28-
def testReplyUnaffectedByFaultyNode(looper, txnPoolNodeSet, nodeChangesRequest,
30+
def testReplyUnaffectedByFaultyNode(looper,
2931
replied1):
3032
"""
3133
Client is malicious - sends requests to Alpha and Beta only

plenum/test/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
checkNodesConnected, ensureElectionsDone, genNodeReg
6363
from plenum.common.config_helper import PConfigHelper, PNodeConfigHelper
6464

65-
Logger.setLogLevel(logging.NOTSET)
65+
Logger.setLogLevel(logging.INFO)
6666
logger = getlogger()
6767

6868
GENERAL_CONFIG_DIR = 'etc/indy'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
'': ['*.txt', '*.md', '*.rst', '*.json', '*.conf', '*.html',
5151
'*.css', '*.ico', '*.png', 'LICENSE', 'LEGAL', 'plenum']},
5252
include_package_data=True,
53-
install_requires=['jsonpickle==0.9.2', 'ujson==1.33',
53+
install_requires=['jsonpickle==0.9.6', 'ujson==1.33',
5454
'prompt_toolkit==0.57', 'pygments==2.1',
5555
'rlp==0.5.1', 'sha3==0.2.1', 'leveldb==0.194',
5656
'ioflo==1.5.4', 'semver==2.7.9', 'base58==0.2.4', 'orderedset==2.0',

0 commit comments

Comments
 (0)