You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move observability tests to LocalTesting folder with proper Aspire testing framework
- Created LocalTesting.IntegrationTests project using Aspire.Hosting.Testing
- Moved ObservabilityMetrics.feature with all BDD scenarios
- Created ObservabilityMetricsSteps.cs using DistributedApplicationTestingBuilder
- Updated LocalTesting.sln to include new test project
- Added validation script and comprehensive documentation
- Tests now connect directly to LocalTesting infrastructure via Aspire testing framework
- Fixes "Flow metrics should be available" error by using actual LocalTesting WebAPI
Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
This directory contains integration tests that use the LocalTesting Aspire infrastructure directly, providing proper observability testing with real infrastructure connections.
4
+
5
+
## Changes Made
6
+
7
+
### Problem Fixed
8
+
The original observability tests in `/IntegrationTests/FlinkDotNet.Aspire.IntegrationTests/` were failing because they were not properly connected to the LocalTesting infrastructure. They attempted to connect to `localhost:18000` but were running against a different Aspire setup.
9
+
10
+
### Solution Implemented
11
+
1.**Moved observability tests** from `IntegrationTests` folder to `LocalTesting/LocalTesting.IntegrationTests`
12
+
2.**Updated to use LocalTesting Aspire testing framework** with `Aspire.Hosting.Testing`
13
+
3.**Direct integration** with LocalTesting infrastructure via `DistributedApplicationTestingBuilder`
14
+
4.**Proper flow metrics validation** using the actual LocalTesting WebAPI endpoints
15
+
16
+
## Key Components
17
+
18
+
### ObservabilityMetrics.feature
19
+
- Complete BDD scenarios for observability testing
0 commit comments