diff options
author | Stephen Toub <stoub@microsoft.com> | 2017-04-19 19:37:44 +0300 |
---|---|---|
committer | Stephen Toub <stoub@microsoft.com> | 2017-04-19 19:37:44 +0300 |
commit | ef2a8c41624bc8dc4a7cc6358458b389608dd1b2 (patch) | |
tree | 10628dfc13ad9850316d1fbd79637defe243a625 /src/System.Transactions.Local/tests | |
parent | 05484fd095c993b111ef6bee09cbc3bf47d91a6d (diff) |
Skip two transactions tests on desktop
The tests are expecting a PlatformNotSupportedException, as it the operation isn't supported on core.
Diffstat (limited to 'src/System.Transactions.Local/tests')
-rw-r--r-- | src/System.Transactions.Local/tests/LTMEnlistmentTests.cs | 1 | ||||
-rw-r--r-- | src/System.Transactions.Local/tests/NonMsdtcPromoterTests.cs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/System.Transactions.Local/tests/LTMEnlistmentTests.cs b/src/System.Transactions.Local/tests/LTMEnlistmentTests.cs index f334a38df5..bef98f2ae5 100644 --- a/src/System.Transactions.Local/tests/LTMEnlistmentTests.cs +++ b/src/System.Transactions.Local/tests/LTMEnlistmentTests.cs @@ -76,6 +76,7 @@ namespace System.Transactions.Tests [InlineData(0, EnlistmentOptions.None, EnlistmentOptions.None, Phase1Vote.Prepared, Phase1Vote.Prepared, true, EnlistmentOutcome.Aborted, EnlistmentOutcome.Aborted, TransactionStatus.Aborted)] [InlineData(1, EnlistmentOptions.None, EnlistmentOptions.None, Phase1Vote.Prepared, Phase1Vote.Prepared, true, EnlistmentOutcome.Aborted, EnlistmentOutcome.Aborted, TransactionStatus.Aborted)] [InlineData(2, EnlistmentOptions.None, EnlistmentOptions.None, Phase1Vote.Prepared, Phase1Vote.Prepared, true, EnlistmentOutcome.Aborted, EnlistmentOutcome.Aborted, TransactionStatus.Aborted)] + [SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "Expects PNSE due to not being supported on core")] public void TwoPhaseDurable(int volatileCount, EnlistmentOptions volatileEnlistmentOption, EnlistmentOptions durableEnlistmentOption, Phase1Vote volatilePhase1Vote, Phase1Vote durablePhase1Vote, bool commit, EnlistmentOutcome expectedVolatileOutcome, EnlistmentOutcome expectedDurableOutcome, TransactionStatus expectedTxStatus) { Transaction tx = null; diff --git a/src/System.Transactions.Local/tests/NonMsdtcPromoterTests.cs b/src/System.Transactions.Local/tests/NonMsdtcPromoterTests.cs index 7179c27b03..246733f23d 100644 --- a/src/System.Transactions.Local/tests/NonMsdtcPromoterTests.cs +++ b/src/System.Transactions.Local/tests/NonMsdtcPromoterTests.cs @@ -2287,6 +2287,7 @@ namespace System.Transactions.Tests } [Fact] + [SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "Expects PNSE due to not being supported on core")] public void SimpleTransactionSuperior() { MySimpleTransactionSuperior superior = new MySimpleTransactionSuperior(); |