Skip to content

Commit

Permalink
WritFile, write to std out
Browse files Browse the repository at this point in the history
  • Loading branch information
acodrington committed Nov 10, 2023
1 parent 0280c33 commit f6bde61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/Halibut.Tests/BaseTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void TearDown()
var artifactUri = "adrian-test-trace-logs/" + Path.GetFileName(traceLogFileLogger.FilePath);
test.WriteStdOutput("Adrian trace log file: " + artifactUri);

//test.WriteFile(artifactUri, "Adrian test artifact");
test.WriteFile(artifactUri, "Adrian test artifact");

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

test.Dispose();
teamCityWriter.Dispose();
Expand Down

0 comments on commit f6bde61

Please sign in to comment.