Fix a segmentation fault in autotest messagefactoryngtest
ClosedPublic

Authored by gjditchfield on Jul 27 2019, 2:44 PM.

Details

Summary

Messagefactoryngtest usually fails due to a segmentation fault. The
fault happens most often during initTestCase at the call to
ident.uoid(), but sometimes occurs at other spots.

This patch avoids the fault. It imitates the initialization pattern
in templateparserjobtest.

Diff Detail

Repository
R94 PIM: Message Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
gjditchfield created this revision.Jul 27 2019, 2:44 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptJul 27 2019, 2:44 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
gjditchfield requested review of this revision.Jul 27 2019, 2:44 PM
dvratil accepted this revision.Jul 29 2019, 8:14 AM
dvratil added a subscriber: dvratil.

LGTM

This revision is now accepted and ready to land.Jul 29 2019, 8:14 AM

I don't have a developer account. Could someone else land this?

This revision was automatically updated to reflect the committed changes.

Sorry for the delay Glen, I've missed your comment. All approved changes are landed, Me or someone else from the team will try to get around to the rest of them soon :)