Skip to content

feat: 打开事务时,实体类的所有查询操作带上For Update,实现行级锁。支持MySql/PgSql/Oracle/SqlServ… #141

feat: 打开事务时,实体类的所有查询操作带上For Update,实现行级锁。支持MySql/PgSql/Oracle/SqlServ…

feat: 打开事务时,实体类的所有查询操作带上For Update,实现行级锁。支持MySql/PgSql/Oracle/SqlServ… #141

Triggered via push August 3, 2023 17:33
Status Failure
Total duration 2m 8s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 20 warnings
test
Process completed with exit code 1.
test: XUnitTest.XCode/Configuration/SqlTemplateTests.cs#L176
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead.
test: XUnitTest.XCode/DataAccessLayer/SqlServerTests.cs#L129
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
test: XUnitTest.XCode/DataAccessLayer/SqlServerTests.cs#L172
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
test: XUnitTest.XCode/DataAccessLayer/SQLiteTests.cs#L134
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
test: XUnitTest.XCode/DataAccessLayer/SQLiteTests.cs#L167
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
test: XUnitTest.XCode/DataAccessLayer/PostgreSQLTests.cs#L122
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
test: XUnitTest.XCode/DataAccessLayer/PostgreSQLTests.cs#L165
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
test: XUnitTest.XCode/DataAccessLayer/OracleTests.cs#L108
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
test: XUnitTest.XCode/DataAccessLayer/MySqlTests.cs#L137
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
test: XUnitTest.XCode/DataAccessLayer/MySqlTests.cs#L180
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
test: Test/Program.cs#L107
The variable 'aaa' is assigned but its value is never used
test: Test/Program.cs#L201
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test: Test/Program.cs#L263
The variable 'f' is assigned but its value is never used
test: Test/Program.cs#L264
The variable 'f2' is assigned but its value is never used
test: XUnitTest.XCode/DataAccessLayer/SqlServerTests.cs#L129
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
test: XUnitTest.XCode/DataAccessLayer/SqlServerTests.cs#L172
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
test: XUnitTest.XCode/DataAccessLayer/SQLiteTests.cs#L134
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
test: XUnitTest.XCode/DataAccessLayer/SQLiteTests.cs#L167
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
test: XUnitTest.XCode/DataAccessLayer/PostgreSQLTests.cs#L122
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
test: XUnitTest.XCode/DataAccessLayer/PostgreSQLTests.cs#L165
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.