Performance Monitor tests fail on OSX
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Engine |
Fix Released
|
High
|
Michele Simionato |
Bug Description
These tests will pass on Linux, but fail on OSX:
=======
FAIL: test_engine_
-------
Traceback (most recent call last):
File "/Users/
self.
File "/Users/
self.
AssertionError: 2 != 1
=======
FAIL: test_engine_
-------
Traceback (most recent call last):
File "/Users/
self.
File "/Users/
self.
AssertionError: 2 != 1
The problem is that, by default, a non-superuser does not have permission to read the proc file for postgres, and thus, the performance monitor doesn't track both expected processes (1. the python process and 2. the postgres process).
It would be nice if we can get this to work on OSX as well while still maintaining good tests.
Changed in oq-engine: | |
status: | Confirmed → Fix Committed |
Changed in oq-engine: | |
status: | Fix Committed → Fix Released |
Fixed in https:/ /github. com/gem/ oq-engine/ pull/1170