Skip to content

Commit

Permalink
Remove similar version check in Cluster.py
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Oct 18, 2024
1 parent eaf60f0 commit f881e8a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/TestHarness/Cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,10 +473,6 @@ def connectGroup(group, producerNodes, bridgeNodes) :
if signatureProviderForNonProducer:
argsArr.append("--signature-provider")

# Handle common case of specifying no block offset for older versions
if "v2" in self.nodeosVers or "v3" in self.nodeosVers or "v4" in self.nodeosVers:
argsArr = list(map(lambda st: str.replace(st, "--produce-block-offset-ms 0", "--last-block-time-offset-us 0 --last-block-cpu-effort-percent 100"), argsArr))

Cluster.__LauncherCmdArr = argsArr.copy()

launcher = cluster_generator(argsArr)
Expand Down

0 comments on commit f881e8a

Please sign in to comment.