Skip to content

Commit 70b52f5

Browse files
committed
fixed test for mssql and mysql
1 parent 434eb4c commit 70b52f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/test/java/org/sterl/spring/persistent_tasks/trigger/TriggerServiceTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,9 @@ void testLockTrigger() throws Exception {
342342
}
343343

344344
executor.invokeAll(lockInvocations);
345+
// start any others - as MSSQL and mySQL has now row lock, only table locks implemented
346+
var s = persistentTaskTestService.scheduleNextTriggersAndWait(Duration.ofSeconds(2));
347+
System.err.println("---------> " + s.size());
345348

346349
// THEN
347350
for (int i = 1; i <= 100; ++i) {

0 commit comments

Comments
 (0)