DATAJDBC-257 - Polishing.

Move container initialization from static initializer into createDataSource() to not trigger container start when loading the class.
Add TestExecutionListener to ignore tests if the license for a container was not accepted. Add Awaitility to delay test execution until the database is ready so we avoid strange failures due to a delayed container startup.

Fix generics, since tags, author tags. Reformat code.

Original pull request: #213.
This commit is contained in:
Mark Paluch
2020-05-06 15:47:19 +02:00
parent 4bf2b8d0a8
commit fa8b95c5f3
11 changed files with 187 additions and 46 deletions

View File

@@ -151,6 +151,13 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>${awaitility.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
@@ -190,6 +197,7 @@
<groupId>com.ibm.db2</groupId>
<artifactId>jcc</artifactId>
<version>11.1.4.4</version>
<scope>test</scope>
</dependency>
<dependency>