File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
dev/tests/integration/framework/Magento/TestFramework/Helper Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,12 @@ public function getRealMemoryUsage()
47
47
{
48
48
$ pid = getmypid ();
49
49
try {
50
+ // fall back to the Unix command line
51
+ $ result = $ this ->_getUnixProcessMemoryUsage ($ pid );
52
+ } catch (\Magento \Framework \Exception \LocalizedException $ e ) {
50
53
// try to use the Windows command line
51
54
// some ports of Unix commands on Windows, such as MinGW, have limited capabilities and cannot be used
52
55
$ result = $ this ->_getWinProcessMemoryUsage ($ pid );
53
- } catch (\Magento \Framework \Exception \LocalizedException $ e ) {
54
- // fall back to the Unix command line
55
- $ result = $ this ->_getUnixProcessMemoryUsage ($ pid );
56
56
}
57
57
return $ result ;
58
58
}
You can’t perform that action at this time.
0 commit comments