martinzink commented on code in PR #2133:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2133#discussion_r3138341191


##########
behave_framework/src/minifi_test_framework/containers/container_linux.py:
##########
@@ -479,3 +484,11 @@ def directory_contains_file_with_minimum_size(self, 
directory_path: str, expecte
             return True
 
         return False
+
+    def get_memory_usage(self) -> int | None:
+        exit_code, output = self.exec_run(["awk", "/VmRSS.*kB/ { printf 
\"%d\", $2 }", "/proc/1/status"])

Review Comment:
   i dont know, this is not new or changed (just the file renamed from 
minifi-container.py)



-- 
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