More improvements to tests #145
Annotations
11 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build:
AsyncKeyedLock.Tests/AsyncKeyedLocker/OriginalTests.cs#L61
'AsyncKeyedLocker.AsyncKeyedLocker()' is obsolete: 'Unless you're mixing different types of objects, it is recommended to use the generic version AsyncKeyedLocker<T>.'
|
build:
AsyncKeyedLock.Tests/AsyncKeyedLocker/OriginalTests.cs#L465
'AsyncKeyedLocker.AsyncKeyedLocker()' is obsolete: 'Unless you're mixing different types of objects, it is recommended to use the generic version AsyncKeyedLocker<T>.'
|
build:
AsyncKeyedLock.Tests/AsyncKeyedLocker/OriginalTests.cs#L500
'AsyncKeyedLocker.AsyncKeyedLocker(Action<AsyncKeyedLockOptions>)' is obsolete: 'Unless you're mixing different types of objects, it is recommended to use the generic version AsyncKeyedLocker<T>.'
|
build:
AsyncKeyedLock.Tests/AsyncKeyedLocker/PooledTestsForAsyncKeyedLock.cs#L26
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
build:
AsyncKeyedLock.Tests/AsyncKeyedLocker/PooledTestsForAsyncKeyedLock.cs#L30
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
build:
AsyncKeyedLock.Tests/AsyncKeyedLocker/PooledTestsForAsyncKeyedLock.cs#L47
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
build:
AsyncKeyedLock.Tests/AsyncKeyedLocker/PooledTestsForAsyncKeyedLock.cs#L65
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
build:
AsyncKeyedLock.Tests/AsyncKeyedLocker/PooledTestsForAsyncKeyedLock.cs#L69
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
build:
AsyncKeyedLock.Tests/AsyncKeyedLocker/PooledTestsForAsyncKeyedLock.cs#L96
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
build:
AsyncKeyedLock.Tests/AsyncKeyedLocker/TestsForAsyncKeyedLockDictionary.cs#L23
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|