pmem / pmdk

Persistent Memory Development Kit
https://pmem.io
Other
1.34k stars 510 forks source link

pmempool_sync tests do not work fully with the new logging system (ERROR_WO_ERRNO) #5983

Closed grom72 closed 8 months ago

grom72 commented 8 months ago

ISSUE: pmempool_sync tests do not work fully with the new logging system (ERR_WO_ERRNO)

Environment Information

Please provide a reproduction of the bug:

Many pmempool_sync tests are based on proper output on stderr from the pmepool application. Originally errors are not displayed on stderr (default logging level is 0). The solution will be to extend the new logging mechanism by disabling error logging on the stderr while executing pmempool_sync tests.

How often bug is revealed: (always, often, rare):

Actual behavior:

Expected behavior:

Details

Additional information about Priority and Help Requested:

Are you willing to submit a pull request with a proposed change? (Yes, No)

Requested priority: (Showstopper, High, Medium, Low)

grom72 commented 8 months ago

Fixed by https://github.com/pmem/pmdk/pull/6000