Skip to content
This repository has been archived by the owner on Oct 26, 2020. It is now read-only.

Commit

Permalink
Ignore stack overflow tests
Browse files Browse the repository at this point in the history
It's not necessary in all situations. Please see
#2 for
more information
  • Loading branch information
michel-kraemer committed Jan 24, 2015
1 parent 7b637d7 commit 2642d8f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import de.fhg.igd.mongomvcc.impl.MongoDBVDatabase;
import java.util.ArrayList;
import java.util.Map;
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.assertArrayEquals;

Expand Down Expand Up @@ -93,9 +94,11 @@ public void loadingOrder() {

/**
* This test checks if a stack overflows when there are too many commits in the database.
* See https://github.com/igd-geo/mongomvcc/pull/2 for more information.
* @throws StackOverflowError if the test fails
*/
@Test
@Ignore("Really slow. Not necessary in all situations. See GitHub issue for more information.")
public void stackOverflow() throws StackOverflowError {
VCollection persons = _master.getCollection("stack");
Map<String, Object> elvis = _factory.createDocument();
Expand Down

0 comments on commit 2642d8f

Please sign in to comment.