lordgamez commented on code in PR #2078:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2078#discussion_r2717341688


##########
behave_framework/src/minifi_test_framework/containers/container.py:
##########
@@ -363,6 +363,7 @@ def verify_file_contents(self, directory_path: str, 
expected_contents: list[str]
         if not self.container:
             return False
 
+        self.container.reload()

Review Comment:
   The attributes of the container objects are not updated automatically, it 
only caches the last retrieved data. We have to use the `reload` method the 
retrieve the latest container information from the docker daemon before 
checking the container status, so we get current container status information.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to