3 writes to MonitorTimestamp
Aspire.Hosting (1)
Dcp\ContainerCreator.cs (1)
215spec.MonitorTimestamp = parentProcessTimestamp;
Aspire.Hosting.Tests (2)
Dcp\DcpExecutorTests.cs (2)
10023AssertMonitorTimestamp(new ContainerSpec { MonitorPid = 1234, MonitorTimestamp = wholeSecondTimestamp }, "0001-01-01T00:06:30.000000Z"); 10024AssertMonitorTimestamp(new ContainerSpec { MonitorPid = 1234, MonitorTimestamp = fractionalSecondTimestamp }, "0001-01-01T00:06:30.123000Z");
6 references to MonitorTimestamp
Aspire.Hosting.Tests (6)
Dcp\DcpExecutorTests.cs (4)
5121Assert.Null(container.Spec.MonitorTimestamp); 5274Assert.NotNull(container.Spec.MonitorTimestamp); 5275Assert.Equal(parentProcessIdentity.Timestamp, container.Spec.MonitorTimestamp.Value, TimeSpan.FromMicroseconds(1)); 10050Assert.Equal(expectedTimestamp, containerSpec.MonitorTimestamp);
DistributedApplicationTests.cs (2)
2057Assert.NotNull(dcpContainer.Spec.MonitorTimestamp); 2058Assert.InRange((dcpContainer.Spec.MonitorTimestamp.Value - parentProcessIdentity.Timestamp).Duration(), TimeSpan.Zero, TimeSpan.FromMilliseconds(1));