File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
cassandra/util/src/main/java/example/springdata/cassandra/util Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
package example .springdata .cassandra .util ;
17
17
18
+ import java .util .concurrent .TimeUnit ;
19
+
18
20
import org .cassandraunit .utils .EmbeddedCassandraServerHelper ;
19
21
import org .junit .AssumptionViolatedException ;
20
22
21
23
/**
22
24
* {@link org.junit.rules.TestRule} for Cassandra server use. This rule can start a Cassandra instance, reuse a running
23
25
* instance or simply require a running Cassandra server (will skip the test if Cassandra is not running).
24
- *
26
+ *
25
27
* @author Mark Paluch
26
28
*/
27
29
public class Cassandra extends CassandraResource {
@@ -73,7 +75,8 @@ protected void before() throws Throwable {
73
75
}
74
76
}
75
77
76
- EmbeddedCassandraServerHelper .startEmbeddedCassandra ("embedded-cassandra.yaml" );
78
+ EmbeddedCassandraServerHelper .startEmbeddedCassandra ("embedded-cassandra.yaml" , "target/embeddedCassandra" ,
79
+ TimeUnit .SECONDS .toMillis (60 ));
77
80
super .before ();
78
81
}
79
82
You can’t perform that action at this time.
0 commit comments