Skip to content

Commit

Permalink
Merge 3.0 into 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
thobe committed Aug 22, 2016
2 parents 9abbceb + 19cb517 commit 2af5eb3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
import org.neo4j.test.DoubleLatch;

import static java.lang.System.currentTimeMillis;
import static java.lang.String.format;
import static java.util.Arrays.asList;
import static java.util.concurrent.TimeUnit.SECONDS;
import static org.hamcrest.CoreMatchers.containsString;
Expand Down Expand Up @@ -867,7 +868,7 @@ public void shouldStoreIndexFailureWhenFailingToCreateOnlineAccessorAfterPopulat
// then
assertEquals( FAILED, indexing.getIndexProxy( 1 ).getState() );
assertEquals( asList( true, false ), closeArgs.getAllValues() );
assertThat( storedFailure(), containsString( "java.io.IOException: Expected failure\n\tat " ) );
assertThat( storedFailure(), containsString( format( "java.io.IOException: Expected failure%n\tat " ) ) );
logProvider.assertAtLeastOnce( inLog( IndexPopulationJob.class ).error( equalTo(
"Failed to populate index: [:TheLabel(propertyKey) [provider: {key=quantum-dex, version=25.0}]]" ),
causedBy( exception ) ) );
Expand Down Expand Up @@ -902,7 +903,7 @@ public void shouldStoreIndexFailureWhenFailingToCreateOnlineAccessorAfterRecover
// then
assertEquals( FAILED, indexing.getIndexProxy( 1 ).getState() );
assertEquals( asList( true, false ), closeArgs.getAllValues() );
assertThat( storedFailure(), containsString( "java.io.IOException: Expected failure\n\tat " ) );
assertThat( storedFailure(), containsString( format( "java.io.IOException: Expected failure%n\tat " ) ) );
logProvider.assertAtLeastOnce( inLog( IndexPopulationJob.class ).error( equalTo(
"Failed to populate index: [:TheLabel(propertyKey) [provider: {key=quantum-dex, version=25.0}]]" ),
causedBy( exception ) ) );
Expand Down

0 comments on commit 2af5eb3

Please sign in to comment.