Opened 4 years ago

Last modified 3 years ago

#21139 new enhancement

[PATCH] BasicPreferences Test Isolation — at Initial Version

Reported by: taylor.smock Owned by: team
Priority: normal Milestone: Longterm
Component: Unit tests Version:
Keywords: junit5 Cc:

Description

This is a followup of comment:13:ticket:21064 (Don-vip):

Thanks! For this ticket I'll stick with the simple solution, even if not ideal. Isolating unit tests is a long-term task.

As in comment:12:ticket:21064, the two patches attached to this ticket do the following:

Change History (2)

by taylor.smock, 4 years ago

Attachment: 21139.patch added

Reset all static AbstractProperty preferences fields to the new Config.

by taylor.smock, 4 years ago

Attachment: 21139.2.patch added

Additionally reset static AbstractProperty preference fields to null after each test (this may cause other test failures)

Note: See TracTickets for help on using tickets.