public StandAloneIntegrationTestFixture()
        {
            // If a system flag is set, then we use the local single server instead
            if (bool.TryParse(GetEnvironmentVariable(UsingLocalServer), out var usingLocalServer) &&
                usingLocalServer)
            {
                StandAlone = new LocalStandAloneInstance();
            }
            else
            {
                if (!BoltkitHelper.IsBoltkitAvailable())
                {
                    return;
                }

                try
                {
                    StandAlone = new StandAlone();
                }
                catch (Exception)
                {
                    Dispose();
                    throw;
                }
            }
        }
Example #2
0
        public StandAloneIntegrationTestFixture()
        {
            if (LocalStandAloneInstance.IsServerProvided())
            {
                StandAlone = new LocalStandAloneInstance();
            }
            else
            {
                if (!BoltkitHelper.IsBoltkitAvailable())
                {
                    return;
                }

                try
                {
                    StandAlone = new StandAlone();
                }
                catch (Exception)
                {
                    Dispose();
                    throw;
                }
            }
        }
 public StandAloneIntegrationTestFixture()
 {
     StandAloneSharedInstance = CreateInstance();
 }