Skip to content

Commit 2b8b742

Browse files
committed
#381 Model.set() is slower now due to dirtyAttributeNames
1 parent e613ec7 commit 2b8b742

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

activejdbc/src/test/java/org/javalite/activejdbc/RaceConditionTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
import java.util.concurrent.ConcurrentLinkedQueue;
88

99
import static org.javalite.activejdbc.test.JdbcProperties.*;
10-
import static org.javalite.test.jspec.JSpec.a;
1110

1211
/**
1312
* @author Igor Polevoy: 4/4/12 2:40 PM
1413
*/
1514
public class RaceConditionTest extends ActiveJDBCTest{
1615

1716
@Test
17+
//TODO: what is test testing?
1818
public void shouldNotGetRaceCondition() throws InterruptedException {
1919

2020
final ConcurrentLinkedQueue<Integer> queue = new ConcurrentLinkedQueue<Integer>();
@@ -34,9 +34,7 @@ public void run() {
3434
new Thread(r).start();
3535
}
3636

37-
38-
Thread.sleep(2000);
39-
37+
Thread.sleep(5000);
4038

4139
a(queue.size()).shouldEqual(10);
4240
}

0 commit comments

Comments
 (0)