always run txs.verify() in e2e_logging test (#3316)

This commit is contained in:
Maik Riechert 2021-12-14 15:16:18 +01:00 коммит произвёл GitHub
Родитель d91777da79
Коммит cde51dfd9b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 6 добавлений и 12 удалений

Просмотреть файл

@ -47,7 +47,7 @@ def verify_receipt(receipt, network_cert, check_endorsement=True):
@reqs.description("Running transactions against logging app")
@reqs.supports_methods("log/private", "log/public")
@reqs.at_least_n_nodes(2)
def test(network, args, verify=True):
def test(network, args):
network.txs.issue(
network=network,
number_txs=1,
@ -57,10 +57,7 @@ def test(network, args, verify=True):
number_txs=1,
on_backup=True,
)
if verify:
network.txs.verify()
else:
LOG.warning("Skipping log messages verification")
network.txs.verify()
return network
@ -68,7 +65,7 @@ def test(network, args, verify=True):
@reqs.description("Protocol-illegal traffic")
@reqs.supports_methods("log/private", "log/public")
@reqs.at_least_n_nodes(2)
def test_illegal(network, args, verify=True):
def test_illegal(network, args):
primary, _ = network.find_primary()
def send_bad_raw_content(content):
@ -109,10 +106,7 @@ def test_illegal(network, args, verify=True):
number_txs=1,
on_backup=True,
)
if verify:
network.txs.verify()
else:
LOG.warning("Skipping log messages verification")
network.txs.verify()
return network
@ -1406,8 +1400,8 @@ def run(args):
) as network:
network.start_and_join(args)
network = test(network, args, verify=args.package != "libjs_generic")
network = test_illegal(network, args, verify=args.package != "libjs_generic")
network = test(network, args)
network = test_illegal(network, args)
network = test_large_messages(network, args)
network = test_remove(network, args)
network = test_clear(network, args)