Last active
August 3, 2020 10:31
-
-
Save jissereitsma/004993763b5333e17ac3ba80d931e270 to your computer and use it in GitHub Desktop.
Fix memory report in certain CI environments, after integration tests have run successfully
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- dev/tests/integration/framework/Magento/TestFramework/Helper/Memory.php 2020-08-03 11:38:00.536570075 +0200 | |
+++ dev/tests/integration/framework/Magento/TestFramework/Helper/Memory.php 2020-08-03 11:40:49.483161722 +0200 | |
@@ -55,6 +55,7 @@ | |
} catch (\Magento\Framework\Exception\LocalizedException $e) { | |
// try to use the Windows command line | |
// some ports of Unix commands on Windows, such as MinGW, have limited capabilities and cannot be used | |
+ die($e->getMessage()); | |
$result = $this->_getWinProcessMemoryUsage($pid); | |
} | |
return $result; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment