1 |
| |
2 |
| |
3 |
| |
4 |
| |
5 |
| |
6 |
| |
7 |
| package org.jboss.cache.options.cachemodelocal; |
8 |
| |
9 |
| import junit.textui.TestRunner; |
10 |
| import org.jboss.cache.config.Configuration; |
11 |
| import org.jboss.cache.misc.TestingUtil; |
12 |
| |
13 |
| public class SyncReplOptLocksTest extends CacheModeLocalTestBase |
14 |
| { |
15 |
5
| public SyncReplOptLocksTest()
|
16 |
| { |
17 |
5
| cacheMode = Configuration.CacheMode.REPL_SYNC;
|
18 |
5
| nodeLockingScheme = "OPTIMISTIC";
|
19 |
| } |
20 |
| |
21 |
20
| protected void delay()
|
22 |
| { |
23 |
20
| TestingUtil.sleepThread(250);
|
24 |
| } |
25 |
| |
26 |
0
| public static void main(String[] args)
|
27 |
| { |
28 |
0
| TestRunner.run(SyncReplOptLocksTest.class);
|
29 |
| } |
30 |
| } |