Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jissereitsma/004993763b5333e17ac3ba80d931e270 to your computer and use it in GitHub Desktop.
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
--- 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