Skip to content

Commit

Permalink
imports and typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fickludd committed Dec 21, 2018
1 parent ee6dee0 commit 65f7682
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -32,9 +32,9 @@
import org.neo4j.kernel.api.exceptions.Status;
import org.neo4j.values.storable.Values;

import static junit.framework.TestCase.assertEquals;
import static junit.framework.TestCase.assertTrue;
import static junit.framework.TestCase.fail;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;

public abstract class LockingTestBase<G extends KernelAPIWriteTestSupport>
extends KernelAPIWriteTestBase<G>
Expand Down Expand Up @@ -69,7 +69,7 @@ public void shouldNotBlockConstraintCreationOnUnrelatedPropertyWrite() throws Th
Future<?> f1 = executor.submit( () -> {
try ( Transaction tx = session.beginTransaction() )
{
createNodeWIthProperty( tx, nodeProp );
createNodeWithProperty( tx, nodeProp );

createNodeLatch.countDown();
assertTrue( createConstraintLatch.await( 5, TimeUnit.MINUTES) );
Expand Down Expand Up @@ -120,7 +120,7 @@ public void shouldNotBlockConstraintCreationOnUnrelatedPropertyWrite() throws Th
}
}

private void createNodeWIthProperty( Transaction tx, int propId1 ) throws KernelException
private void createNodeWithProperty( Transaction tx, int propId1 ) throws KernelException
{
long node = tx.dataWrite().nodeCreate();
tx.dataWrite().nodeSetProperty( node, propId1, Values.intValue( 42 ) );
Expand Down

0 comments on commit 65f7682

Please sign in to comment.