Refactor: break down DeploySmartContract into smaller methods to improve readability #3448
Build #20230921.10 had test failures
Details
- Failed: 24 (1.28%)
- Passed: 1,817 (96.60%)
- Other: 40 (2.13%)
- Total: 1,881
Annotations
Check failure on line 294 in Build log
azure-pipelines / AElfProject.AElf
Build log #L294
Bash exited with code '1'.
Check failure on line 307 in Build log
azure-pipelines / AElfProject.AElf
Build log #L307
Bash exited with code '1'.
Check failure on line 288 in Build log
azure-pipelines / AElfProject.AElf
Build log #L288
Cmd.exe exited with code '1'.
Check failure on line 1 in AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContract_Test
azure-pipelines / AElfProject.AElf
AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContract_Test
Shouldly.ShouldAssertException : contractInfo.Version
should be
1
but was
0
Raw output
at AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContract_Test() in /home/vsts/work/1/s/test/AElf.Contracts.Genesis.Tests/GenesisContractAuthTest.cs:line 454
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
azure-pipelines / AElfProject.AElf
AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContract_Deterministic_Test
Shouldly.ShouldAssertException : result.Status
should be
TransactionResultStatus.Mined
but was
TransactionResultStatus.Failed
Raw output
at AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContract_Deterministic_Test() in /home/vsts/work/1/s/test/AElf.Contracts.Genesis.Tests/GenesisContractTests_Deterministic.cs:line 346
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
Check failure on line 1 in AElf.Contracts.Genesis.GenesisContractAuthTest.Deploy_MultiTimes
azure-pipelines / AElfProject.AElf
AElf.Contracts.Genesis.GenesisContractAuthTest.Deploy_MultiTimes
Shouldly.ShouldAssertException : contractInfo.Version
should be
1
but was
0
Raw output
at AElf.Contracts.Genesis.GenesisContractAuthTest.Deploy_MultiTimes() in /home/vsts/work/1/s/test/AElf.Contracts.Genesis.Tests/GenesisContractAuthTest.cs:line 332
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
azure-pipelines / AElfProject.AElf
AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContractTest_Failed_InvalidContractVersion
Shouldly.ShouldAssertException : contractInfo.Version
should be
1
but was
0
Raw output
at AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContractTest_Failed_InvalidContractVersion() in /home/vsts/work/1/s/test/AElf.Contracts.Genesis.Tests/GenesisContractAuthTest.cs:line 550
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)