Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #7926 from EOSIO/fix-bios-test
Browse files Browse the repository at this point in the history
Better error check in test
  • Loading branch information
kj4ezj authored Sep 16, 2019
2 parents 41459f5 + 7b66d48 commit 3af46be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ def bios_bootstrap(self, biosNode, totalNodes, pfSetupPolicy, silent=False):
if not silent: Utils.Print("Launcher failed to shut down eos cluster.")
return None

p = re.compile('error', re.IGNORECASE)
p = re.compile(r"\berror\b", re.IGNORECASE)
with open(Cluster.__bootlog) as bootFile:
for line in bootFile:
if p.search(line):
Expand Down

0 comments on commit 3af46be

Please sign in to comment.