Skip to content

Commit 2b4267e

Browse files
committed
Update MNTR to 1.1.1 and update build script to suit
1 parent 9bbb68f commit 2b4267e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

build.fsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -342,13 +342,13 @@ Target "MultiNodeTestsNetCore" (fun _ ->
342342
let runSingleProject projectDll =
343343
let arguments =
344344
match (hasTeamCity) with
345-
| true -> (sprintf "test \"%s\" -l:trx -l:\"console;verbosity=detailed\" --framework %s --results-directory \"%s\" -- -teamcity" projectDll testNetCoreVersion outputMultiNode)
346-
| false -> (sprintf "test \"%s\" -l:trx -l:\"console;verbosity=detailed\" --framework %s --results-directory \"%s\"" projectDll testNetCoreVersion outputMultiNode)
345+
| true -> (sprintf "test \"%s\" -l:\"console;verbosity=detailed\" --framework %s --results-directory \"%s\" -- -teamcity" projectDll testNetCoreVersion outputMultiNode)
346+
| false -> (sprintf "test \"%s\" -l:\"console;verbosity=detailed\" --framework %s --results-directory \"%s\"" projectDll testNetCoreVersion outputMultiNode)
347347

348348
let resultPath = (directory projectDll)
349349
File.WriteAllText(
350350
(resultPath @@ "xunit.multinode.runner.json"),
351-
(sprintf "{\"outputDirectory\":\"%s\"}" outputMultiNode).Replace("\\", "\\\\"))
351+
(sprintf "{\"outputDirectory\":\"%s\", \"useBuiltInTrxReporter\":true}" outputMultiNode).Replace("\\", "\\\\"))
352352

353353
let result = ExecProcess(fun info ->
354354
info.FileName <- "dotnet"
@@ -381,13 +381,13 @@ Target "MultiNodeTestsNet" (fun _ ->
381381
let runSingleProject projectDll =
382382
let arguments =
383383
match (hasTeamCity) with
384-
| true -> (sprintf "test \"%s\" -l:trx -l:\"console;verbosity=detailed\" --framework %s --results-directory \"%s\" -- -teamcity" projectDll testNetVersion outputMultiNode)
385-
| false -> (sprintf "test \"%s\" -l:trx -l:\"console;verbosity=detailed\" --framework %s --results-directory \"%s\"" projectDll testNetVersion outputMultiNode)
384+
| true -> (sprintf "test \"%s\" -l:\"console;verbosity=detailed\" --framework %s --results-directory \"%s\" -- -teamcity" projectDll testNetVersion outputMultiNode)
385+
| false -> (sprintf "test \"%s\" -l:\"console;verbosity=detailed\" --framework %s --results-directory \"%s\"" projectDll testNetVersion outputMultiNode)
386386

387387
let resultPath = (directory projectDll)
388388
File.WriteAllText(
389389
(resultPath @@ "xunit.multinode.runner.json"),
390-
(sprintf "{\"outputDirectory\":\"%s\"}" outputMultiNode).Replace("\\", "\\\\"))
390+
(sprintf "{\"outputDirectory\":\"%s\", \"useBuiltInTrxReporter\":true}" outputMultiNode).Replace("\\", "\\\\"))
391391

392392
let result = ExecProcess(fun info ->
393393
info.FileName <- "dotnet"

src/common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<FsCheckVersion>2.16.4</FsCheckVersion>
2828
<HoconVersion>2.0.3</HoconVersion>
2929
<ConfigurationManagerVersion>4.7.0</ConfigurationManagerVersion>
30-
<MultiNodeAdapterVersion>1.1.0</MultiNodeAdapterVersion>
30+
<MultiNodeAdapterVersion>1.1.1</MultiNodeAdapterVersion>
3131
<AkkaPackageTags>akka;actors;actor model;Akka;concurrency</AkkaPackageTags>
3232
</PropertyGroup>
3333
<PropertyGroup>

0 commit comments

Comments
 (0)