Exemplo n.º 1
0
        public DatabaseFixture()
        {
            MySql = new MySqlDockerContainer();

            if (!TestContext.Travis && !TestContext.AppVeyor) // AppVeyor and Windows 2016 does not support linux docker images
            {
                MySql.Start();
                Thread.Sleep(10000);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 3
0
        public DatabaseFixture()
        {
            MsSql = new MsSqlDockerContainer();
            MySql = new MySqlDockerContainer();
            Pg    = new PostgreSqlDockerContainer();

            if (!TestContext.AppVeyor) // AppVeyor and Windows 2016 does not support linux docker images
            {
                MsSql.Start();
                MySql.Start();
                Pg.Start();

                Thread.Sleep(60000);
            }
        }