Skip to content

Commit

Permalink
HSEARCH-2788 Remove useless sleeps in CDI/Wildfly integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere authored and Sanne committed Jun 19, 2017
1 parent e339f2e commit d4d3323
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -84,7 +84,6 @@ public void cleanupDatabase() {

@Test
public void injectedFieldBridge() throws InterruptedException {
Thread.sleep( 10000 );
Function<String, List<EntityWithCDIAwareBridges>> search = dao::searchFieldBridge;

assertThat( search.apply( "bonjour" ) ).onProperty( "id" ).isEmpty();
Expand Down Expand Up @@ -117,7 +116,6 @@ public void injectedFieldBridge() throws InterruptedException {

@Test
public void injectedClassBridge() throws InterruptedException {
Thread.sleep( 10000 );
Function<String, List<EntityWithCDIAwareBridges>> search = dao::searchClassBridge;

assertThat( search.apply( "bonjour" ) ).onProperty( "id" ).isEmpty();
Expand Down

0 comments on commit d4d3323

Please sign in to comment.