示例#1
0
        public DatabaseFixture()
        {
            MsSql = new MsSqlDockerContainer();

            if (!TestContext.Travis && !TestContext.AppVeyor) // AppVeyor and Windows 2016 does not support linux docker images
            {
                MsSql.Start();
                Thread.Sleep(10000);
            }
        }
示例#2
0
        public DatabaseFixture()
        {
            MySql = new MySqlDockerContainer();
            MsSql = new MsSqlDockerContainer();
            Pg    = new PostgreSqlDockerContainer();

            if (!TestContext.Travis && !TestContext.AppVeyor) // AppVeyor does not support Docker Linux images, and Travis CI runs on Linux
            {
                MySql.Start();
                MsSql.Start();
                Pg.Start();

                Thread.Sleep(10000);
            }
        }