# Test failures trying to build 2\_0\_x branch.

**URL:** <https://forum.liquibase.org/t/test-failures-trying-to-build-2-0-x-branch/2250>\
**Category:** General Discussion\
**Created:** [April 19, 2013, 9:06pm UTC](https://forum.liquibase.org/t/test-failures-trying-to-build-2-0-x-branch/2250 "2013-04-19T21:06:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![frankgrimes97](https://avatars.discourse-cdn.com/v4/letter/f/5e9695/32.png) [@frankgrimes97](https://forum.liquibase.org/u/frankgrimes97)\
**Post date:** [April 19, 2013, 9:06pm UTC](https://forum.liquibase.org/t/test-failures-trying-to-build-2-0-x-branch/2250/1 "2013-04-19T21:06:00Z")

</div>

Failed tests:&nbsp;

&nbsp; testGetDefaultDriver(liquibase.database.core.DerbyDatabaseTest)

&nbsp; escapeTableName\_reservedWord(liquibase.database.core.PostgresDatabaseTest)

&nbsp; testWithColumnSpecificIntType(liquibase.sqlgenerator.core.CreateTableGeneratorTest)

&nbsp; testAutoIncrementMySQLDatabase(liquibase.sqlgenerator.core.CreateTableGeneratorTest)

&nbsp; testAutoIncrementStartWithMySQLDatabase(liquibase.sqlgenerator.core.CreateTableGeneratorTest)

&nbsp; testAutoIncrementStartWithIncrementByMySQLDatabase(liquibase.sqlgenerator.core.CreateTableGeneratorTest)

&nbsp; shouldDropIndexInPostgreSQL(liquibase.sqlgenerator.core.DropIndexGeneratorTest)

I’m using Oracle JDK 1.7.0\_21 on OSX.

I also get the same failures using Apple JDK 1.6.0\_45.

---

<div class="post-metadata">

**Author:** ![frankgrimes97](https://avatars.discourse-cdn.com/v4/letter/f/5e9695/32.png) [@frankgrimes97](https://forum.liquibase.org/u/frankgrimes97)\
**Post date:** [April 19, 2013, 9:06pm UTC](https://forum.liquibase.org/t/test-failures-trying-to-build-2-0-x-branch/2250/2 "2013-04-19T21:06:00Z")

</div>

[https://liquibase.jira.com/browse/CORE-1294](https://liquibase.jira.com/browse/CORE-1294)

---

<div class="post-metadata">

**Author:** ![vinnyshef](https://avatars.discourse-cdn.com/v4/letter/v/8edcca/32.png) [@vinnyshef](https://forum.liquibase.org/u/vinnyshef)\
**Post date:** [April 19, 2013, 9:06pm UTC](https://forum.liquibase.org/t/test-failures-trying-to-build-2-0-x-branch/2250/3 "2013-04-19T21:06:00Z")

</div>

Any instructions on how we can build the package, but bypass the failing tests? &nbsp;

I need to try to get a build where I can get a stacktrace from the failed attempt at loading my custom pre-conditions.

(Aside: Is this forum or Jira the preferred place to ask these sorts of questions?)

Thanks,

Vince

---

<div class="post-metadata">

**Author:** ![pellcorp](https://avatars.discourse-cdn.com/v4/letter/p/e0b2c6/32.png) [@pellcorp](https://forum.liquibase.org/u/pellcorp)\
**Post date:** [April 19, 2013, 9:06pm UTC](https://forum.liquibase.org/t/test-failures-trying-to-build-2-0-x-branch/2250/4 "2013-04-19T21:06:00Z")

</div>

Is there a tag in git that matches the 2.0.5 release?  
  
I would like get build locally based on 2.0.5, but even checking out what looks like the right tag still has failed tests.

---

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [April 19, 2013, 9:06pm UTC](https://forum.liquibase.org/t/test-failures-trying-to-build-2-0-x-branch/2250/5 "2013-04-19T21:06:00Z")

</div>

The easiest way to build liquibase by bypassing the tests is to run maven with the&nbsp;skipTests=true flag.&nbsp;

from the liquibase-core dir run:&nbsp;

mvn -DskipTests=true package

Unfortunately the 2.0 branch does have expected failing tests. I just finished getting them cleaned up in master for the 3.0 release but I hadn’t been good about keeping them up during the 2.0 releases. I would run the integration tests against local databases I have, but didn’t keep it clean in the general automated case. For 3.0+ I’ll keep it clean.

I’d say questions like “how do I build liquibase without the tests” is a good question for here vs. jira. Jira works best for bug/feature tracking but not as well for process type questions.

Nathan

---

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [April 19, 2013, 9:06pm UTC](https://forum.liquibase.org/t/test-failures-trying-to-build-2-0-x-branch/2250/6 "2013-04-19T21:06:00Z")

</div>

The tag for the 2.0.5 release is “liquibase-parent-2.0.5”. Commit&nbsp;

 | d93e6a8b4a6debae14b356e6ea9d18686eb127e7 |
 

Nathan&nbsp;
