Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
dotNET Platform
runtime
提交
7a8af49f
R
runtime
项目概览
dotNET Platform
/
runtime
12 个月 前同步成功
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
runtime
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
7a8af49f
编写于
8月 25, 2022
作者:
S
Shay Rojansky
提交者:
GitHub
8月 25, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Disable distributed transaction tests on ARM (#74572)
To unblock CI build failures, works around #74170
上级
f26c91bb
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
32 addition
and
16 deletion
+32
-16
src/libraries/System.Transactions.Local/tests/OleTxTests.cs
src/libraries/System.Transactions.Local/tests/OleTxTests.cs
+32
-16
未找到文件。
src/libraries/System.Transactions.Local/tests/OleTxTests.cs
浏览文件 @
7a8af49f
...
...
@@ -28,9 +28,11 @@ public OleTxTests(OleTxFixture fixture)
[
InlineData
(
Phase1Vote
.
ForceRollback
,
Phase1Vote
.
Prepared
,
EnlistmentOutcome
.
Aborted
,
EnlistmentOutcome
.
Aborted
,
TransactionStatus
.
Aborted
)]
public
void
Two_durable_enlistments_commit
(
Phase1Vote
vote1
,
Phase1Vote
vote2
,
EnlistmentOutcome
expectedOutcome1
,
EnlistmentOutcome
expectedOutcome2
,
TransactionStatus
expectedTxStatus
)
{
if
(!
Environment
.
Is64BitProcess
)
if
(!
Environment
.
Is64BitProcess
||
PlatformDetection
.
IsArm64Process
)
{
return
;
// Temporarily skip on 32-bit where we have an issue
// Temporarily skip on 32-bit where we have an issue
// ARM64 issue: https://github.com/dotnet/runtime/issues/74170
return
;
}
using
var
tx
=
new
CommittableTransaction
();
...
...
@@ -61,9 +63,11 @@ public void Two_durable_enlistments_commit(Phase1Vote vote1, Phase1Vote vote2, E
[
ConditionalFact
(
typeof
(
PlatformDetection
),
nameof
(
PlatformDetection
.
IsNotWindowsNanoServer
))]
public
void
Two_durable_enlistments_rollback
()
{
if
(!
Environment
.
Is64BitProcess
)
if
(!
Environment
.
Is64BitProcess
||
PlatformDetection
.
IsArm64Process
)
{
return
;
// Temporarily skip on 32-bit where we have an issue
// Temporarily skip on 32-bit where we have an issue
// ARM64 issue: https://github.com/dotnet/runtime/issues/74170
return
;
}
using
var
tx
=
new
CommittableTransaction
();
...
...
@@ -89,9 +93,11 @@ public void Two_durable_enlistments_rollback()
[
InlineData
(
2
)]
public
void
Volatile_and_durable_enlistments
(
int
volatileCount
)
{
if
(!
Environment
.
Is64BitProcess
)
if
(!
Environment
.
Is64BitProcess
||
PlatformDetection
.
IsArm64Process
)
{
return
;
// Temporarily skip on 32-bit where we have an issue
// Temporarily skip on 32-bit where we have an issue
// ARM64 issue: https://github.com/dotnet/runtime/issues/74170
return
;
}
using
var
tx
=
new
CommittableTransaction
();
...
...
@@ -122,9 +128,11 @@ public void Volatile_and_durable_enlistments(int volatileCount)
[
ConditionalFact
(
nameof
(
IsRemoteExecutorSupportedAndNotNano
))]
public
void
Promotion
()
{
if
(!
Environment
.
Is64BitProcess
)
if
(!
Environment
.
Is64BitProcess
||
PlatformDetection
.
IsArm64Process
)
{
return
;
// Temporarily skip on 32-bit where we have an issue
// Temporarily skip on 32-bit where we have an issue
// ARM64 issue: https://github.com/dotnet/runtime/issues/74170
return
;
}
// This simulates the full promotable flow, as implemented for SQL Server.
...
...
@@ -301,9 +309,11 @@ public void SinglePhaseCommit(SinglePhaseEnlistment singlePhaseEnlistment)
[
ConditionalFact
(
nameof
(
IsRemoteExecutorSupportedAndNotNano
))]
public
void
Recovery
()
{
if
(!
Environment
.
Is64BitProcess
)
if
(!
Environment
.
Is64BitProcess
||
PlatformDetection
.
IsArm64Process
)
{
return
;
// Temporarily skip on 32-bit where we have an issue
// Temporarily skip on 32-bit where we have an issue
// ARM64 issue: https://github.com/dotnet/runtime/issues/74170
return
;
}
// We are going to spin up an external process to also enlist in the transaction, and then to crash when it
...
...
@@ -413,9 +423,11 @@ public void InDoubt(Enlistment enlistment)
[
ConditionalFact
(
typeof
(
PlatformDetection
),
nameof
(
PlatformDetection
.
IsNotWindowsNanoServer
))]
public
void
TransmitterPropagationToken
()
{
if
(!
Environment
.
Is64BitProcess
)
if
(!
Environment
.
Is64BitProcess
||
PlatformDetection
.
IsArm64Process
)
{
return
;
// Temporarily skip on 32-bit where we have an issue
// Temporarily skip on 32-bit where we have an issue
// ARM64 issue: https://github.com/dotnet/runtime/issues/74170
return
;
}
using
var
tx
=
new
CommittableTransaction
();
...
...
@@ -434,9 +446,11 @@ public void TransmitterPropagationToken()
[
ConditionalFact
(
typeof
(
PlatformDetection
),
nameof
(
PlatformDetection
.
IsNotWindowsNanoServer
))]
public
void
GetExportCookie
()
{
if
(!
Environment
.
Is64BitProcess
)
if
(!
Environment
.
Is64BitProcess
||
PlatformDetection
.
IsArm64Process
)
{
return
;
// Temporarily skip on 32-bit where we have an issue
// Temporarily skip on 32-bit where we have an issue
// ARM64 issue: https://github.com/dotnet/runtime/issues/74170
return
;
}
using
var
tx
=
new
CommittableTransaction
();
...
...
@@ -483,9 +497,11 @@ public class OleTxFixture
{
public
OleTxFixture
()
{
if
(!
Environment
.
Is64BitProcess
)
if
(!
Environment
.
Is64BitProcess
||
PlatformDetection
.
IsArm64Process
)
{
return
;
// Temporarily skip on 32-bit where we have an issue
// Temporarily skip on 32-bit where we have an issue
// ARM64 issue: https://github.com/dotnet/runtime/issues/74170
return
;
}
// In CI, we sometimes get XACT_E_TMNOTAVAILABLE on the very first attempt to connect to MSDTC;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录