Ejemplo n.º 1
0
        private async Task UpdateTestCaseListAsync(KustoContext context, CancellationToken cancellationToken)
        {
            _logger.LogInformation("Reloading test case lists...");

            var list = await context.GetAllTestIdentitiesAsync(
                new[] { "dotnet/aspnetcore", "dotnet-aspnetcore" },
                cancellationToken);

            // Build a data structure to hold all the data
            var testCollection = TestCollection.Build(list);

            _backgroundDataStore.UpdateTestCollection(testCollection);
        }