26 references to InternalMicrosoftProbeOutcome
aspire (11)
Telemetry\InternalMicrosoftDetector.cs (11)
271var anyProbeFailed = diagnostics.Any(diagnostic => diagnostic.Outcome == InternalMicrosoftProbeOutcome.Failed); 326var deadlineTriggeredCancellation = timedOut && diagnostic.Outcome == InternalMicrosoftProbeOutcome.Cancelled; 328? diagnostic with { Outcome = InternalMicrosoftProbeOutcome.TimedOut } 335result.Diagnostic.Outcome == InternalMicrosoftProbeOutcome.TimedOut); 340diagnostics.Add(new InternalMicrosoftProbeDiagnostic(probe.Name, InternalMicrosoftProbeOutcome.TimedOut, _probeStageTimeout, HasAlias: false, HasDomain: false)); 373? InternalMicrosoftProbeOutcome.TimedOut 375? InternalMicrosoftProbeOutcome.Failed 377? InternalMicrosoftProbeOutcome.Detected 378: InternalMicrosoftProbeOutcome.NotDetected; 393new InternalMicrosoftProbeDiagnostic(probe.Name, InternalMicrosoftProbeOutcome.Cancelled, stopwatch.Elapsed, HasAlias: false, HasDomain: false), 409InternalMicrosoftProbeOutcome.Failed,
Aspire.Cli.Tests (15)
Telemetry\AspireCliTelemetryTests.cs (3)
660new InternalMicrosoftProbeDiagnostic("test source", InternalMicrosoftProbeOutcome.Detected, TimeSpan.FromMilliseconds(12), HasAlias: true, HasDomain: true) 679Assert.Contains(probeEvent.Tags, tag => tag.Key == TelemetryConstants.Tags.InternalMicrosoftProbeOutcome && (string?)tag.Value == InternalMicrosoftProbeOutcome.Detected); 691InternalMicrosoftProbeOutcome.Failed,
Telemetry\InternalMicrosoftDetectorTests.cs (12)
246Assert.Contains(result.ProbeDiagnostics, probe => probe.Source == "slow" && probe.Outcome == InternalMicrosoftProbeOutcome.TimedOut); 276Assert.Contains(result.ProbeDiagnostics, probe => probe.Source == "late positive" && probe.Outcome == InternalMicrosoftProbeOutcome.TimedOut); 344Assert.Equal(InternalMicrosoftProbeOutcome.Failed, failure.Outcome); 366Assert.Contains(result.ProbeDiagnostics, probe => probe.Source == "negative" && probe.Outcome == InternalMicrosoftProbeOutcome.NotDetected); 383Assert.Contains(result.ProbeDiagnostics, probe => probe.Source == "faulting" && probe.Outcome == InternalMicrosoftProbeOutcome.Failed); 434Assert.Contains(result.ProbeDiagnostics, diagnostic => diagnostic.Outcome == InternalMicrosoftProbeOutcome.NotDetected); 435Assert.Contains(result.ProbeDiagnostics, diagnostic => diagnostic.Outcome == InternalMicrosoftProbeOutcome.Failed); 457Assert.Contains(result.ProbeDiagnostics, probe => probe.Source == "slow" && probe.Outcome == InternalMicrosoftProbeOutcome.TimedOut); 482Assert.Equal(InternalMicrosoftProbeOutcome.TimedOut, diagnostic.Outcome); 960Assert.Equal(InternalMicrosoftProbeOutcome.TimedOut, diagnostic.Outcome); 1014$"Platform SSO did not detect a managed Microsoft identity. Failure: {result.Failure?.Code ?? InternalMicrosoftProbeOutcome.NotDetected} at {result.Failure?.Stage ?? "<none>"}."); 1036Assert.Equal(InternalMicrosoftProbeOutcome.Failed, diagnostic.Outcome);