Skip to content

Commit f6bde61

Browse files
committed
WritFile, write to std out
1 parent 0280c33 commit f6bde61

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/Halibut.Tests/BaseTest.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public void TearDown()
6464
var artifactUri = "adrian-test-trace-logs/" + Path.GetFileName(traceLogFileLogger.FilePath);
6565
test.WriteStdOutput("Adrian trace log file: " + artifactUri);
6666

67-
//test.WriteFile(artifactUri, "Adrian test artifact");
67+
test.WriteFile(artifactUri, "Adrian test artifact");
6868

6969
var message = new ServiceMessage("testMetadata")
7070
{
@@ -77,7 +77,9 @@ public void TearDown()
7777
//using the teamCityWriter validates that we're not inside a test suite, which doesn't matter for this message type
7878
//ie, the validation is too broad.
7979
var stringMessage = new ServiceMessageFormatter().FormatMessage(message);
80+
Logger.Information(stringMessage);
8081
Console.WriteLine(stringMessage);
82+
test.WriteStdOutput(stringMessage);
8183

8284
test.Dispose();
8385
teamCityWriter.Dispose();

0 commit comments

Comments
 (0)