Skip to content

Commit

Permalink
small tweak to test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
okram committed Nov 2, 2011
1 parent b9c4d18 commit 5f34593
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -273,7 +273,7 @@ public void testExceptionOnIndexOverwrite() {

public void testAutomaticTransactionsOnIndices() {
IndexableGraph graph = (IndexableGraph) this.graphTest.getGraphInstance();
if (graph instanceof TransactionalGraph) {
if (graphTest.supportsTransactions && graph instanceof TransactionalGraph) {
TransactionalGraph txGraph = (TransactionalGraph) graph;
assertEquals(txGraph.getCurrentBufferSize(), 0);
graph.dropIndex(Index.VERTICES);
Expand Down

0 comments on commit 5f34593

Please sign in to comment.