Bael-1965: using awaitility in test (#4691)

* how to trigger and stop scheduled batch job

* Replace thread.sleep to awaitility tool in integration testing
This commit is contained in:
mmchsusan
2018-07-12 13:22:05 -04:00
committed by maibin
parent 6335e28a9e
commit 34f4a6bdb9
3 changed files with 37 additions and 29 deletions
+8
View File
@@ -52,6 +52,13 @@
<artifactId>opencsv</artifactId>
<version>${opencsv.version}</version>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>${awaitility.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
@@ -59,6 +66,7 @@
<spring.batch.version>4.0.0.RELEASE</spring.batch.version>
<sqlite.version>3.15.1</sqlite.version>
<opencsv.version>4.1</opencsv.version>
<awaitility.version>3.1.1</awaitility.version>
</properties>
</project>