terminal icon indicating copy to clipboard operation
terminal copied to clipboard

SettingsModelLocalTests failures are on the rise

Open j4james opened this issue 3 years ago • 2 comments
trafficstars

Windows Terminal version

Commit 1ce22a87e6fc204b5fd98642723aa0a51a503749

Windows build number

10.0.19044.1889

Other Software

No response

Steps to reproduce

!. Check out a recent version of the project. 2. Build it. 3. Run the unit tests.

Expected Behavior

All tests should pass.

Actual Behavior

A number of SettingsModelLocalTests are failing:

SettingsModelLocalTests::DeserializationTests::TestCloseOnExitParsing [Failed]
SettingsModelLocalTests::SerializationTests::Profile [Failed]
SettingsModelLocalTests::SerializationTests::Actions [Failed]
SettingsModelLocalTests::SerializationTests::LegacyFontSettings [Failed]

If I remember correctly, the first one has been around for a while now. I'm afraid I've just been ignoring it and hoping somebody else would notice. The others I think are fairly recent. Although I may be misremembering which are old and which are new.

j4james avatar Sep 20 '22 23:09 j4james

Looking at the test logs for those last three, it seems the failures are a result of a change in serialization of the font size from int to float (I suspect PR #14013).

The older one I suspect is the result of the new Automatic mode for CloseOnExit (PR #13560).

j4james avatar Sep 20 '22 23:09 j4james

I keep forgetting that we don't run them in the CI... 😞

lhecker avatar Sep 21 '22 16:09 lhecker

:tada:This issue was addressed in #14064, which has now been successfully released as Windows Terminal Preview v1.17.1023.:tada:

Handy links:

ghost avatar Jan 24 '23 18:01 ghost