You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by av...@apache.org on 2021/03/24 11:34:54 UTC
[ignite] branch ignite-ducktape updated: Linter fixes because of
RED BAD merge from https://github.com/apache/ignite/pull/8891
This is an automated email from the ASF dual-hosted git repository.
av pushed a commit to branch ignite-ducktape
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/ignite-ducktape by this push:
new 25841d2 Linter fixes because of RED BAD merge from https://github.com/apache/ignite/pull/8891
25841d2 is described below
commit 25841d23e9a3e700c62981c255ce6e7e30710111
Author: Anton Vinogradov <av...@apache.org>
AuthorDate: Wed Mar 24 14:34:16 2021 +0300
Linter fixes because of RED BAD merge from https://github.com/apache/ignite/pull/8891
---
modules/ducktests/tests/ignitetest/services/ignite.py | 3 ---
modules/ducktests/tests/ignitetest/tests/rebalance/in_memory_test.py | 3 ++-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/modules/ducktests/tests/ignitetest/services/ignite.py b/modules/ducktests/tests/ignitetest/services/ignite.py
index 13e8f5c..cc1f418 100644
--- a/modules/ducktests/tests/ignitetest/services/ignite.py
+++ b/modules/ducktests/tests/ignitetest/services/ignite.py
@@ -78,7 +78,4 @@ def get_event_time(service, log_node, log_pattern, from_the_beginning=True, time
service.await_event_on_node(log_pattern, log_node, timeout, from_the_beginning=from_the_beginning,
backoff_sec=0.3)
- _, stdout, _ = log_node.account.ssh_client.exec_command(
- "grep '%s' %s" % (log_pattern, log_node.log_file))
-
return IgniteAwareService.event_time(log_pattern, log_node)
diff --git a/modules/ducktests/tests/ignitetest/tests/rebalance/in_memory_test.py b/modules/ducktests/tests/ignitetest/tests/rebalance/in_memory_test.py
index daa68f1..998272c 100644
--- a/modules/ducktests/tests/ignitetest/tests/rebalance/in_memory_test.py
+++ b/modules/ducktests/tests/ignitetest/tests/rebalance/in_memory_test.py
@@ -105,7 +105,8 @@ class RebalanceInMemoryTest(IgniteTest):
stats = aggregate_rebalance_stats(rebalance_nodes, cache_count)
- def speed(d): return (int(stats.received_bytes / d * 1000 / 1024 / 1024) / 1000.0) if d else None
+ def speed(dur):
+ return (int(stats.received_bytes / dur * 1000 / 1024 / 1024) / 1000.0) if dur else None
return {
"Rebalanced in (sec)": (end_time - start_time).total_seconds(),