Skip to content

Commit be12738

Browse files
authored
Disable failing UT (#14153)
* Disable failing UT * Change files
1 parent f4dd6f9 commit be12738

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "none",
3+
"comment": "Disable failing UT",
4+
"packageName": "react-native-windows",
5+
"email": "[email protected]",
6+
"dependentChangeType": "none"
7+
}

vnext/Mso.UnitTests/future/futureTest.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,9 @@ TEST_CLASS_EX (Future2Test, LibletAwareMemLeakDetection) {
213213
TestCheck(!Mso::GetIFuture(f1)->IsFailed());
214214
}
215215

216-
TEST_METHOD(Futureint_Then_DestroyLambdaAfterInvoke) {
216+
// Future UTs failing intermittently on newer CI agent versions - disabling until we can find a fix
217+
// https://github.com/microsoft/react-native-windows/issues/14114
218+
SKIPTESTMETHOD(Futureint_Then_DestroyLambdaAfterInvoke) {
217219
// See that lambda's destructor is called even if we still hold the future f1 alive.
218220
// To observe that the lambda is deleted we move observer to its capture.
219221
// When the observed Mso::TRestorer<bool> is deleted it will reset isDestroyed to true.

0 commit comments

Comments
 (0)