Skip to content

Commit

Permalink
Fixed test, forgot to shutdown the batch inserter
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalstain committed Nov 7, 2011
1 parent 4721318 commit 7a04e7e
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -190,6 +190,7 @@ public void testSetAndKeepNodeProperty()
assertEquals( 2, props.size() );
assertEquals( "bar3", props.get( "foo" ) );
assertEquals( "bar2", props.get( "foo2" ) );
inserter.shutdown();
}

@Test
Expand Down Expand Up @@ -233,6 +234,7 @@ public void testSetAndKeepRelationshipProperty()
assertEquals( 2, props.size() );
assertEquals( "bar3", props.get( "foo" ) );
assertEquals( "bar2", props.get( "foo2" ) );
inserter.shutdown();
}

@Test
Expand All @@ -252,6 +254,7 @@ public void testNodeHasProperty()
assertFalse( inserter.relationshipHasProperty( relationship, key
+ "-" ) );
}
inserter.shutdown();
}

@Test
Expand Down Expand Up @@ -308,7 +311,7 @@ else if ( key.equals( "key1" ) )
assertTrue( inserter.relationshipHasProperty( relationship, key ) );
}
}

inserter.shutdown();
}

@Test
Expand Down

0 comments on commit 7a04e7e

Please sign in to comment.