Skip to content

Commit

Permalink
Disable failing UT (#14153)
Browse files Browse the repository at this point in the history
* Disable failing UT

* Change files
  • Loading branch information
acoates-ms authored Dec 3, 2024
1 parent f4dd6f9 commit be12738
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Disable failing UT",
"packageName": "react-native-windows",
"email": "30809111+acoates-ms@users.noreply.github.com",
"dependentChangeType": "none"
}
4 changes: 3 additions & 1 deletion vnext/Mso.UnitTests/future/futureTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ TEST_CLASS_EX (Future2Test, LibletAwareMemLeakDetection) {
TestCheck(!Mso::GetIFuture(f1)->IsFailed());
}

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

0 comments on commit be12738

Please sign in to comment.