Skip to content

Commit 9c93574

Browse files
committed
Fix problem with reprocessing test
1 parent fd9ea07 commit 9c93574

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • Extensions/Xtensive.Orm.Reprocessing.Tests/Tests

Extensions/Xtensive.Orm.Reprocessing.Tests/Tests/Context.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,6 @@ public void Parent(
172172
public void UniqueConstraintViolation(
173173
bool first, IsolationLevel? isolationLevel, TransactionOpenMode? transactionOpenMode)
174174
{
175-
int firstRunsCount = 0;
176-
int secondRunsCount = 0;
177-
178175
domain.WithStrategy(ExecuteActionStrategy.HandleUniqueConstraintViolation)
179176
.WithIsolationLevel(isolationLevel.GetValueOrDefault(IsolationLevel.RepeatableRead))
180177
.WithTransactionOpenMode(transactionOpenMode.GetValueOrDefault(TransactionOpenMode.New))
@@ -200,6 +197,7 @@ public void UniqueConstraintViolation(
200197
//wait2.Dispose();
201198
w2 = null;
202199
}
200+
_ = new Foo(session) { Name = name };
203201
}
204202
session.SaveChanges();
205203
});

0 commit comments

Comments
 (0)