mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-06-26 07:11:14 +00:00
[AZ-1074] [AZ-1075] gRPC tile stream tests and shared proto
Extract tile_provision.proto into GrpcContracts, add integration tests and validation hardening for DeliverRouteTiles streaming. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -108,11 +108,11 @@ class Program
|
||||
|
||||
if (TestRunMode.Smoke)
|
||||
{
|
||||
await RunSmokeSuite(httpClient, connectionString);
|
||||
await RunSmokeSuite(httpClient, connectionString, apiUrl, jwtSecret);
|
||||
}
|
||||
else
|
||||
{
|
||||
await RunFullSuite(httpClient, connectionString);
|
||||
await RunFullSuite(httpClient, connectionString, apiUrl, jwtSecret);
|
||||
}
|
||||
|
||||
Console.WriteLine();
|
||||
@@ -130,7 +130,7 @@ class Program
|
||||
}
|
||||
}
|
||||
|
||||
static async Task RunSmokeSuite(HttpClient httpClient, string connectionString)
|
||||
static async Task RunSmokeSuite(HttpClient httpClient, string connectionString, string apiUrl, string jwtSecret)
|
||||
{
|
||||
await TileTests.RunGetTileByLatLonTest(httpClient);
|
||||
await RegionTests.RunRegionProcessingTest_200m_Zoom18(httpClient);
|
||||
@@ -145,11 +145,12 @@ class Program
|
||||
await RegionRequestValidationTests.RunAll(httpClient);
|
||||
await GetTileByLatLonValidationTests.RunAll(httpClient);
|
||||
await CreateRouteValidationTests.RunAll(httpClient);
|
||||
await RouteTileDeliveryGrpcTests.RunAll(httpClient, apiUrl, jwtSecret);
|
||||
await LeafletPathIndexOnlyTests.RunAll(connectionString);
|
||||
await MigrationTests.RunAll();
|
||||
}
|
||||
|
||||
static async Task RunFullSuite(HttpClient httpClient, string connectionString)
|
||||
static async Task RunFullSuite(HttpClient httpClient, string connectionString, string apiUrl, string jwtSecret)
|
||||
{
|
||||
await TileTests.RunGetTileByLatLonTest(httpClient);
|
||||
|
||||
@@ -173,6 +174,7 @@ class Program
|
||||
await RegionRequestValidationTests.RunAll(httpClient);
|
||||
await GetTileByLatLonValidationTests.RunAll(httpClient);
|
||||
await CreateRouteValidationTests.RunAll(httpClient);
|
||||
await RouteTileDeliveryGrpcTests.RunAll(httpClient, apiUrl, jwtSecret);
|
||||
await LeafletPathIndexOnlyTests.RunAll(connectionString);
|
||||
await MigrationTests.RunAll();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user