From 1e596a044aaa27b5b91b667699495fca8b77fabb Mon Sep 17 00:00:00 2001 From: Sebakov Dmitriy Sergeevich Date: Sat, 27 Nov 2021 15:53:24 +0300 Subject: [PATCH] fix conflicts --- src/Horarium.Test/RunnerJobTest.cs | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/Horarium.Test/RunnerJobTest.cs b/src/Horarium.Test/RunnerJobTest.cs index e760007..af12ddd 100644 --- a/src/Horarium.Test/RunnerJobTest.cs +++ b/src/Horarium.Test/RunnerJobTest.cs @@ -161,12 +161,8 @@ public async Task Start_ExecutionWithDelay_IncreaseInterval() settings, new JsonSerializerSettings(), Mock.Of(), -<<<<<<< HEAD Mock.Of(), Mock.Of()); -======= - Mock.Of()); ->>>>>>> f47d280 (Add unit tests) // Act runnerJobs.Start(); @@ -180,19 +176,11 @@ public async Task Start_ExecutionWithDelay_IncreaseInterval() await Task.Delay(interval); interval += settings.IntervalStartJob.Multiply(settings.JobThrottleSettings.IntervalMultiplier); await Task.Delay(interval); -<<<<<<< HEAD // Assert jobRepositoryMock.Verify(r => r.GetReadyJob(It.IsAny(), It.IsAny()), Times.Exactly(3)); } - -======= - - // Assert - jobRepositoryMock.Verify(r => r.GetReadyJob(It.IsAny(), It.IsAny()), Times.Exactly(3)); - } ->>>>>>> f47d280 (Add unit tests) [Fact] public async Task Start_ExecutionWithDelay_MaxInterval() { @@ -218,12 +206,8 @@ public async Task Start_ExecutionWithDelay_MaxInterval() settings, new JsonSerializerSettings(), Mock.Of(), -<<<<<<< HEAD Mock.Of(), Mock.Of()); -======= - Mock.Of()); ->>>>>>> f47d280 (Add unit tests) // Act runnerJobs.Start(); @@ -231,16 +215,10 @@ public async Task Start_ExecutionWithDelay_MaxInterval() jobRepositoryMock.Invocations.Clear(); await Task.Delay(TimeSpan.FromSeconds(5)); -<<<<<<< HEAD - -======= - ->>>>>>> f47d280 (Add unit tests) // Assert jobRepositoryMock.Verify(r => r.GetReadyJob(It.IsAny(), It.IsAny()), Times.Exactly(5)); } -<<<<<<< HEAD [Fact] public async Task Start_NextJobStarted_AddsJobTaskToUncompletedTasks() { @@ -305,7 +283,5 @@ public async Task StopAsync_AwaitsWhenAllCompleted() // Assert uncompletedTaskList.Verify(x => x.WhenAllCompleted(cancellationToken), Times.Once); } -======= ->>>>>>> f47d280 (Add unit tests) } } \ No newline at end of file