File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
util/src/test/java/com/github/chrisgleissner/springbatchrest/util/core Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public void startWorks() throws InterruptedException {
5353 propMap .put ("foo" , propertyValue ++);
5454 starter .start (jobToRun , true , propMap );
5555 }
56- assertThat (latch .await (2 , SECONDS )).isTrue ();
56+ assertThat (latch .await (3 , SECONDS )).isTrue ();
5757 assertThat (propertyValues ).hasSize (propertyValue ); // TODO: Intermittent failures here - presumed timing issue
5858 }
5959 Thread .sleep (100 ); // Job completion takes place after latch is counted down
@@ -86,8 +86,8 @@ public void startJobConfigWorks() throws InterruptedException {
8686 .property ("foo" , "" + propertyValue ++)
8787 .asynchronous (true ).build ());
8888 }
89- assertThat (latch .await (2 , SECONDS )).isTrue ();
90- assertThat (propertyValues ).hasSize (propertyValue );
89+ assertThat (latch .await (3 , SECONDS )).isTrue ();
90+ assertThat (propertyValues ).hasSize (propertyValue ); // TODO: Intermittent failures here - presumed timing issue
9191 }
9292 Thread .sleep (100 ); // Job completion takes place after latch is counted down
9393 assertThat (JobProperties .of ("AdHocStarterTest0" ).getProperty ("foo" )).isEqualTo ("bar" );
You can’t perform that action at this time.
0 commit comments