modules/platforms/dotnet/Apache.Ignite.Core.Tests/TestUtils.Windows.cs
/// <summary>
/// Gets the default code-based test configuration.
/// </summary>
Gets the default code-based test configuration.
Gets the default code - based test configuration .
public static IgniteConfiguration GetTestConfiguration(bool? jvmDebug = null, string name = null)
        {
            return new IgniteConfiguration
            {
                DiscoverySpi = GetStaticDiscovery(),
                Localhost = "127.0.0.1",
                JvmOptions = TestJavaOptions(jvmDebug),
                JvmClasspath = CreateTestClasspath(),
                IgniteInstanceName = name,
                DataStorageConfiguration = new DataStorageConfiguration
                {
                    DefaultDataRegionConfiguration = new DataRegionConfiguration
                    {
                        Name = DataStorageConfiguration.DefaultDataRegionName,
                        InitialSize = 128 * 1024 * 1024,
                        MaxSize = Environment.Is64BitProcess
                            ? DataRegionConfiguration.DefaultMaxSize
                            : 256 * 1024 * 1024
                    }
                },
                FailureHandler = new NoOpFailureHandler(),
                WorkDirectory = WorkDir
            };
        }
public static IgniteConfiguration GetTestConfiguration ( bool ? jvmDebug = null , string name = null ) { return new IgniteConfiguration { DiscoverySpi = GetStaticDiscovery ( ) , Localhost = " " , JvmOptions = TestJavaOptions ( jvmDebug ) , JvmClasspath = CreateTestClasspath ( ) , IgniteInstanceName = name , DataStorageConfiguration = new DataStorageConfiguration { DefaultDataRegionConfiguration = new DataRegionConfiguration { Name = DataStorageConfiguration . DefaultDataRegionName , InitialSize = 128 * 1024 * 1024 , MaxSize = Environment . Is64BitProcess ? DataRegionConfiguration . DefaultMaxSize : 256 * 1024 * 1024 } } , FailureHandler = new NoOpFailureHandler ( ) , WorkDirectory = WorkDir } ; }
Gets the default code-based test configuration.
Gets the default code - based test configuration .
jvmDebug
bool?
name
string