整理代码
This commit is contained in:
@@ -53,7 +53,9 @@ namespace ConsoleApp2.SimulationService
|
||||
var shareKeyIntervalCount = 0;
|
||||
|
||||
var source = _dataInputOptions.Value.CreateSource?.Invoke(tableName);
|
||||
if (source == null) throw new NullReferenceException($"create table source:{tableName} failed!");
|
||||
var testRecord = await source.GetTestRecord();
|
||||
if(testRecord == null) throw new NullReferenceException($"create testRecord failed, tableName:{tableName}");
|
||||
for (long i = 1; i <= dataCount; i++)
|
||||
{
|
||||
shareKeyIntervalCount++;
|
||||
|
Reference in New Issue
Block a user