Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: health check waits for tasks to finish before becoming unhealthy #788

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

fix: health check waits for tasks to finish before becoming unhealthy

76ede96
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

fix: health check waits for tasks to finish before becoming unhealthy #788

fix: health check waits for tasks to finish before becoming unhealthy
76ede96
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test - ubuntu-latest Common/tests succeeded Oct 31, 2024 in 0s

6783 passed, 0 failed and 1 skipped

Tests passed successfully

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

6784 tests were completed in 131s with 6783 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
ArmoniK.Core.Common.Tests.AdapterLoading.AdapterLoadingTest 8✅ 107ms
ArmoniK.Core.Common.Tests.ApplicationRawTests 2✅ 9ms
ArmoniK.Core.Common.Tests.Auth.AuthenticationCacheTest 10✅ 8ms
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(DefaultAuth) 1144✅ 2s
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoAuthentication) 1144✅ 1s
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoAuthorization) 1144✅ 1s
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoImpersonation) 1144✅ 936ms
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoImpersonationNoAuthorization) 1144✅ 1s
ArmoniK.Core.Common.Tests.Auth.CheckAuthenticationAttributes 59✅ 2ms
ArmoniK.Core.Common.Tests.Auth.PermissionTest 10✅ 1⚪ 17ms
ArmoniK.Core.Common.Tests.ExceptionManagerTests 16✅ 4s
ArmoniK.Core.Common.Tests.Grpc.TaskStatusConversionTests 2✅ 2ms
ArmoniK.Core.Common.Tests.GrpcHealthChecksServiceTest 1✅ 9ms
ArmoniK.Core.Common.Tests.GrpcTasksServiceTests 4✅ 3s
ArmoniK.Core.Common.Tests.HealthChecks.HealthCheckTest 9✅ 36ms
ArmoniK.Core.Common.Tests.HealthChecks.HowHealthCheckWorkTest 2✅ 27ms
ArmoniK.Core.Common.Tests.ListApplicationsRequestExt.ToApplicationFieldTest 5✅ 2ms
ArmoniK.Core.Common.Tests.ListApplicationsRequestExt.ToApplicationFilterTest 12✅ 29ms
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✅ 7ms
ArmoniK.Core.Common.Tests.ListTasksRequestExt.ToTaskDataFilterTest 38✅ 12ms
ArmoniK.Core.Common.Tests.LoggerExtTest 2✅ 51ms
ArmoniK.Core.Common.Tests.Pollster.AgentTest 15✅ 6s
ArmoniK.Core.Common.Tests.Pollster.DataPrefetcherTest 3✅ 15ms
ArmoniK.Core.Common.Tests.Pollster.PollsterTest 14✅ 15s
ArmoniK.Core.Common.Tests.Pollster.TaskHandlerTest 54✅ 34s
ArmoniK.Core.Common.Tests.RendezvousChannelTest 40✅ 35s
ArmoniK.Core.Common.Tests.RpcExtTests 36✅ 3ms
ArmoniK.Core.Common.Tests.StateMachines.ProcessReplyCreateLargeTaskStateMachineTest 12✅ 38ms
ArmoniK.Core.Common.Tests.Submitter.ExceptionInterceptorTests 3✅ 169ms
ArmoniK.Core.Common.Tests.Submitter.GrpcSubmitterServiceTests 47✅ 93ms
ArmoniK.Core.Common.Tests.Submitter.IntegrationGrpcSubmitterServiceTest 94✅ 977ms
ArmoniK.Core.Common.Tests.Submitter.SubmitterTests 21✅ 7s
ArmoniK.Core.Common.Tests.TaskFilterExtTests 14✅ 13ms
ArmoniK.Core.Common.Tests.TaskLifeCycleHelperTest 3✅ 991ms
ArmoniK.Core.Common.Tests.TaskOptionsTests 2✅ 2ms
ArmoniK.Core.Common.Tests.TestBase.AuthenticationTableTestBase 32✅ 6ms
ArmoniK.Core.Common.Tests.TestBase.ObjectStorageTestBase 16✅ 8ms
ArmoniK.Core.Common.Tests.TestBase.PartitionTableTestBase 22✅ 6ms
ArmoniK.Core.Common.Tests.TestBase.QueueStorageTestsBase 5✅ 5ms
ArmoniK.Core.Common.Tests.TestBase.ResultTableTestBase 27✅ 15ms
ArmoniK.Core.Common.Tests.TestBase.ResultWatcherTestBase 4✅ 4ms
ArmoniK.Core.Common.Tests.TestBase.SessionTableTestBase 24✅ 13ms
ArmoniK.Core.Common.Tests.TestBase.TaskTableTestBase 135✅ 35ms
ArmoniK.Core.Common.Tests.TestBase.TaskWatcherTestBase 4✅ 4ms
ArmoniK.Core.Common.Tests.Validators.CancelTasksRequestValidatorTest 3✅ 1ms
ArmoniK.Core.Common.Tests.Validators.CreateLargeTaskRequestValidatorTest 9✅ 4ms
ArmoniK.Core.Common.Tests.Validators.CreateSessionRequestValidatorTest 4✅ 1ms
ArmoniK.Core.Common.Tests.Validators.CreateSmallTaskRequestValidatorTest 16✅ 5ms
ArmoniK.Core.Common.Tests.Validators.EventSubscriptionRequestValidatorTest 44✅ 6ms
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✅ 4ms
ArmoniK.Core.Common.Tests.WatchToGrpcTests 5✅ 14s