Copilot commented on code in PR #6208:
URL: https://github.com/apache/ignite-3/pull/6208#discussion_r2190297315
##########
modules/platforms/dotnet/Apache.Ignite.Tests/Compute/ComputeTests.cs:
##########
@@ -1054,6 +1054,16 @@ private static async Task
AssertJobStatus<T>(IJobExecution<T> jobExecution, JobS
Assert.AreEqual(jobExecution.Id, state!.Id);
Assert.AreEqual(status, state.Status);
Assert.That(state.CreateTime,
Is.GreaterThanOrEqualTo(beforeStart));
+
+ if (state.StartTime == null)
+ {
+ // Not started yet.
+ Assert.That(status, Is.AnyOf(JobStatus.Queued,
JobStatus.Canceling, JobStatus.Canceled));
+ Assert.IsNull(state.FinishTime);
Review Comment:
[nitpick] For consistency with the other assertions, you could switch this
to `Assert.That(state.FinishTime, Is.Null)` to use a uniform style across the
method.
```suggestion
Assert.That(state.FinishTime, Is.Null);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]