未验证 提交 7218ea5d 编写于 作者: W wanderingbort 提交者: GitHub

Merge pull request #3578 from EOSIO/fix-smoke-tests

workaround for lack of timespec keyword python versions earlier than 3.6
......@@ -1373,7 +1373,7 @@ class Cluster(object):
raise RuntimeError("Cluster already running.")
cmd="%s -p %s -n %s -s %s -d %s -i %s -f --p2p-plugin bnet" % (
Utils.EosLauncherPath, pnodes, totalNodes, topo, delay, datetime.datetime.utcnow().isoformat(timespec='milliseconds') )
Utils.EosLauncherPath, pnodes, totalNodes, topo, delay, datetime.datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%S.%f")[:-3])
cmdArr=cmd.split()
if self.staging:
cmdArr.append("--nogen")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册