Skip to content

Commit 44c5787

Browse files
mzk-vctAndrei Goncharov
authored and
Andrei Goncharov
committed
Unskip testProtocolInstanceCannotBecomeActiveWithLessThanFourServers since it works well (#153)
* unskip testProtocolInstanceCannotBecomeActiveWithLessThanFourServers since it works well * decrease number of nodes in test_instance_cannot_become_active_with_less_than_four_servers to 13
1 parent 99dffd2 commit 44c5787

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plenum/test/instances/test_instance_cannot_become_active_with_less_than_four_servers.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@
1919

2020

2121
# noinspection PyIncorrectDocstring
22-
@pytest.mark.skip(reason="SOV-940")
22+
# @pytest.mark.skip(reason="SOV-940")
2323
def testProtocolInstanceCannotBecomeActiveWithLessThanFourServers(
2424
tdir_for_func):
2525
"""
2626
A protocol instance must have at least 4 nodes to come up.
2727
The status of the nodes will change from starting to started only after the
2828
addition of the fourth node to the system.
2929
"""
30-
nodeCount = 16
31-
f = 5
32-
minimumNodesToBeUp = 16 - f
30+
nodeCount = 13
31+
f = 4
32+
minimumNodesToBeUp = nodeCount - f
3333

3434
nodeNames = genNodeNames(nodeCount)
3535
with TestNodeSet(names=nodeNames, tmpdir=tdir_for_func) as nodeSet:

0 commit comments

Comments
 (0)