Skip to content

Commit

Permalink
update TimeoutSampler call using self.status (RedHatQE#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbasunag authored May 5, 2022
1 parent de52889 commit d2f0d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocp_resources/node_network_configuration_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def wait_for_status_success(self):
self.wait_for_configuration_conditions_unknown_or_progressing()

samples = TimeoutSampler(
wait_timeout=self.success_timeout, sleep=1, func=self.status
wait_timeout=self.success_timeout, sleep=1, func=lambda: self.status
)
try:
for sample in samples:
Expand Down

0 comments on commit d2f0d0e

Please sign in to comment.