Skip to content

Commit 2a69ad4

Browse files
author
Niall Langley
committed
Tweaked test failing CI build to show returned data as it passes on local runs
1 parent f6c8c73 commit 2a69ad4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

DataPipelineTools.Tests/DataLake/DataLakeServiceTests/GetItemsAsyncTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4+
using Microsoft.Extensions.Logging;
45
using Moq;
56
using Newtonsoft.Json;
67
using Newtonsoft.Json.Linq;
@@ -223,6 +224,8 @@ public void Given_Filter_Should_ReturnRecordsMatchingFilter(string directory, st
223224

224225
var result = Sut.GetItemsAsync(DatalakeConfig, itemsConfig).Result.ToObject<GetItemsResponse>();
225226

227+
Logger.LogInformation($"Results JSON:\n{JsonConvert.SerializeObject(result, Formatting.Indented)}");
228+
226229
Assert.That(result.FileCount, Is.EqualTo(expectedFileCount));
227230
Assert.That(result.Files, Has.Count.EqualTo(expectedFileCount));
228231
}

0 commit comments

Comments
 (0)