tid = createTable("test", "t", "id INT NOT NULL PRIMARY KEY, x INT NULL, UNIQUE(x)");
rowType = SchemaCache.globalSchema(ais()).tableRowType(tid);
}
private List<MonitoredThread> buildThreads(Integer x1, Integer x2) {
ConcurrentTestBuilder builder = ConcurrentTestBuilderImpl.create();
builder.add("insert_a", insertCreator(tid, testRow(rowType, 1, x1)))
.sync("sync", Stage.POST_BEGIN)
.add("insert_b", insertCreator(tid, testRow(rowType, 2, x2)))
.sync("sync", Stage.POST_BEGIN);
return builder.build(this);
}