Skip to content

fix: lint

fix: lint #4718

GitHub Actions / Test - windows Common/tests failed Dec 5, 2024 in 0s

6782 passed, 1 failed and 1 skipped

Tests failed

❌ Common/tests/TestResults/test-results.trx

6784 tests were completed in 268s with 6782 passed, 1 failed and 1 skipped.

Test suite Passed Failed Skipped Time
ArmoniK.Core.Common.Tests.AdapterLoading.AdapterLoadingTest 8✅ 742ms
ArmoniK.Core.Common.Tests.ApplicationRawTests 2✅ 8ms
ArmoniK.Core.Common.Tests.Auth.AuthenticationCacheTest 10✅ 19ms
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(DefaultAuth) 1144✅ 3s
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoAuthentication) 1144✅ 1s
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoAuthorization) 1144✅ 943ms
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoImpersonation) 1144✅ 808ms
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoImpersonationNoAuthorization) 1144✅ 920ms
ArmoniK.Core.Common.Tests.Auth.CheckAuthenticationAttributes 59✅ 2ms
ArmoniK.Core.Common.Tests.Auth.PermissionTest 10✅ 1⚪ 435ms
ArmoniK.Core.Common.Tests.ExceptionManagerTests 16✅ 4s
ArmoniK.Core.Common.Tests.Grpc.TaskStatusConversionTests 2✅ 2ms
ArmoniK.Core.Common.Tests.GrpcHealthChecksServiceTest 1✅ 19ms
ArmoniK.Core.Common.Tests.GrpcTasksServiceTests 4✅ 12s
ArmoniK.Core.Common.Tests.HealthChecks.HealthCheckTest 9✅ 37ms
ArmoniK.Core.Common.Tests.HealthChecks.HowHealthCheckWorkTest 2✅ 190ms
ArmoniK.Core.Common.Tests.ListApplicationsRequestExt.ToApplicationFieldTest 5✅ 14ms
ArmoniK.Core.Common.Tests.ListApplicationsRequestExt.ToApplicationFilterTest 12✅ 6ms
ArmoniK.Core.Common.Tests.ListPartitionsRequestExt.ToPartitionDataFieldTest 6✅ 2ms
ArmoniK.Core.Common.Tests.ListPartitionsRequestExt.ToPartitionDataFilterTest 13✅ 5ms
ArmoniK.Core.Common.Tests.ListResultsRequestExt.ToResultFieldTest 8✅ 2ms
ArmoniK.Core.Common.Tests.ListResultsRequestExt.ToResultFilterTest 15✅ 5ms
ArmoniK.Core.Common.Tests.ListSessionsRequestExt.ToSessionDataFieldTest 12✅ 3ms
ArmoniK.Core.Common.Tests.ListSessionsRequestExt.ToSessionDataFilterTest 16✅ 7ms
ArmoniK.Core.Common.Tests.ListTasksRequestExt.ToTaskDataFieldTest 33✅ 11ms
ArmoniK.Core.Common.Tests.ListTasksRequestExt.ToTaskDataFilterTest 38✅ 13ms
ArmoniK.Core.Common.Tests.LoggerExtTest 2✅ 72ms
ArmoniK.Core.Common.Tests.Pollster.AgentTest 15✅ 22s
ArmoniK.Core.Common.Tests.Pollster.DataPrefetcherTest 3✅ 28ms
ArmoniK.Core.Common.Tests.Pollster.PollsterTest 12✅ 23s
ArmoniK.Core.Common.Tests.Pollster.TaskHandlerTest 56✅ 92s
ArmoniK.Core.Common.Tests.RendezvousChannelTest 40✅ 40s
ArmoniK.Core.Common.Tests.RpcExtTests 36✅ 3ms
ArmoniK.Core.Common.Tests.StateMachines.ProcessReplyCreateLargeTaskStateMachineTest 12✅ 38ms
ArmoniK.Core.Common.Tests.Submitter.ExceptionInterceptorTests 3✅ 186ms
ArmoniK.Core.Common.Tests.Submitter.GrpcSubmitterServiceTests 47✅ 139ms
ArmoniK.Core.Common.Tests.Submitter.IntegrationGrpcSubmitterServiceTest 94✅ 972ms
ArmoniK.Core.Common.Tests.Submitter.SubmitterTests 21✅ 27s
ArmoniK.Core.Common.Tests.TaskFilterExtTests 14✅ 39ms
ArmoniK.Core.Common.Tests.TaskLifeCycleHelperTest 3✅ 4s
ArmoniK.Core.Common.Tests.TaskOptionsTests 2✅ 2ms
ArmoniK.Core.Common.Tests.TestBase.AuthenticationTableTestBase 32✅ 5ms
ArmoniK.Core.Common.Tests.TestBase.ObjectStorageTestBase 16✅ 7ms
ArmoniK.Core.Common.Tests.TestBase.PartitionTableTestBase 22✅ 6ms
ArmoniK.Core.Common.Tests.TestBase.QueueStorageTestsBase 5✅ 12ms
ArmoniK.Core.Common.Tests.TestBase.ResultTableTestBase 27✅ 16ms
ArmoniK.Core.Common.Tests.TestBase.ResultWatcherTestBase 4✅ 4ms
ArmoniK.Core.Common.Tests.TestBase.SessionTableTestBase 24✅ 14ms
ArmoniK.Core.Common.Tests.TestBase.TaskTableTestBase 135✅ 41ms
ArmoniK.Core.Common.Tests.TestBase.TaskWatcherTestBase 4✅ 4ms
ArmoniK.Core.Common.Tests.Validators.CancelTasksRequestValidatorTest 3✅ 1ms
ArmoniK.Core.Common.Tests.Validators.CreateLargeTaskRequestValidatorTest 9✅ 5ms
ArmoniK.Core.Common.Tests.Validators.CreateSessionRequestValidatorTest 4✅ 1ms
ArmoniK.Core.Common.Tests.Validators.CreateSmallTaskRequestValidatorTest 16✅ 5ms
ArmoniK.Core.Common.Tests.Validators.EventSubscriptionRequestValidatorTest 44✅ 5ms
ArmoniK.Core.Common.Tests.Validators.ListApplicationsRequestValidatorTest 8✅ 8ms
ArmoniK.Core.Common.Tests.Validators.ListPartitionsRequestValidatorTest 8✅ 3ms
ArmoniK.Core.Common.Tests.Validators.ListResultsRequestValidatorTest 8✅ 3ms
ArmoniK.Core.Common.Tests.Validators.ListSessionsRequestValidatorTest 8✅ 3ms
ArmoniK.Core.Common.Tests.Validators.ListTasksRequestValidatorTest 8✅ 3ms
ArmoniK.Core.Common.Tests.Validators.SessionFilterValidatorTest 2✅ 2ms
ArmoniK.Core.Common.Tests.Validators.SessionServiceCreateSessionRequestValidatorTest 4✅ 1ms
ArmoniK.Core.Common.Tests.Validators.SubmitTasksRequestValidatorTest 2✅ 0ms
ArmoniK.Core.Common.Tests.Validators.TaskFilterValidatorTest 13✅ 4ms
ArmoniK.Core.Common.Tests.Validators.TaskOptionsValidatorTest 11✅ 2ms
ArmoniK.Core.Common.Tests.WatchToGrpcTests 4✅ 1❌ 16s

❌ ArmoniK.Core.Common.Tests.WatchToGrpcTests

✅ MultipleWatchShouldSucceed(3)
❌ MultipleWatchShouldSucceed(6)
	  Expected: property Count equal to 48
	  But was:  0
	
✅ UseMongoForResultsShouldSucceed
✅ UseMongoForTasksShouldSucceed
✅ WatchShouldSucceed

Annotations

Check failure on line 119 in Common/tests/WatchToGrpcTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test - windows Common/tests

ArmoniK.Core.Common.Tests.WatchToGrpcTests ► MultipleWatchShouldSucceed(6)

Failed test found in:
  Common/tests/TestResults/test-results.trx
Error:
    Expected: property Count equal to 48
    But was:  0
  
Raw output
  Expected: property Count equal to 48
  But was:  0

   at ArmoniK.Core.Common.Tests.WatchToGrpcTests.MultipleWatchShouldSucceed(Int32 nTries) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\WatchToGrpcTests.cs:line 119
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

1)    at ArmoniK.Core.Common.Tests.WatchToGrpcTests.MultipleWatchShouldSucceed(Int32 nTries) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\WatchToGrpcTests.cs:line 119