-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Version: Akka.NET v1.4.18
This issue occurs only on the PowerShell CLI - I don't have this trouble at all in cmd
.
PS> .\bin\Release\netcoreapp3.1\Akka.Cluster.Tests.MultiNode.dll -Dmultinode.output-directory="D:\Repositories\olympus\akka.net\TestResults\multinode" -Dmultinode.failed-specs-directory="D:\Repositories\olympus\akka.net\TestResults\multinode" -Dmultinode.enable-filesink=on -Dmultinode.clear-output=1 -Dmultinode.spec="*StressSpec*"
Causes the MNTR to explode with the following error:
Unhandled exception. Akka.Configuration.ConfigurationException: Command line parameter '-Dmultinode' should follow the pattern [-Dmultinode.<key>=<value>].
at Akka.Remote.TestKit.CommandLine.<>c.<.cctor>b__6_0() in D:\Repositories\olympus\akka.net\src\core\Akka.Remote.TestKit\CommandLine.cs:line 44
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy`1.CreateValue()
at System.Lazy`1.get_Value()
at Akka.Remote.TestKit.CommandLine.GetPropertyOrDefault(String key, String defaultStr) in D:\Repositories\olympus\akka.net\src\core\Akka.Remote.TestKit\CommandLine.cs:line 57
at Akka.MultiNodeTestRunner.Program.Main(String[] args)
The same command on cmd
works fine without issue - my guess is that this is a tokenization / whitespace error in the command line parser for the MNTR.