Skip to content

Commit

Permalink
Merge pull request #1032 from MetPX/fix_wVip_in_flaky
Browse files Browse the repository at this point in the history
flakey flow test failing when polls killed with -9 cannot remove novip state file
  • Loading branch information
petersilva authored Apr 30, 2024
2 parents 42a2288 + 1157e13 commit 37a59a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sarracenia/flow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ def __init__(self, cfg=None):

# metrics - dictionary with names of plugins as the keys
self.metricsFlowReset()
self.had_vip = True

self.had_vip = not os.path.exists( self.o.novipFilename )

def metricsFlowReset(self) -> None:

Expand Down Expand Up @@ -427,6 +428,7 @@ def run(self):
check if stop_requested once in a while, but never return otherwise.
"""


if not self.loadCallbacks(self.plugins['load']):
return

Expand Down

0 comments on commit 37a59a6

Please sign in to comment.