We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd9ea07 commit 9c93574Copy full SHA for 9c93574
1 file changed
Extensions/Xtensive.Orm.Reprocessing.Tests/Tests/Context.cs
@@ -172,9 +172,6 @@ public void Parent(
172
public void UniqueConstraintViolation(
173
bool first, IsolationLevel? isolationLevel, TransactionOpenMode? transactionOpenMode)
174
{
175
- int firstRunsCount = 0;
176
- int secondRunsCount = 0;
177
-
178
domain.WithStrategy(ExecuteActionStrategy.HandleUniqueConstraintViolation)
179
.WithIsolationLevel(isolationLevel.GetValueOrDefault(IsolationLevel.RepeatableRead))
180
.WithTransactionOpenMode(transactionOpenMode.GetValueOrDefault(TransactionOpenMode.New))
@@ -200,6 +197,7 @@ public void UniqueConstraintViolation(
200
197
//wait2.Dispose();
201
198
w2 = null;
202
199
}
+ _ = new Foo(session) { Name = name };
203
204
session.SaveChanges();
205
});
0 commit comments