Remove the 500-point bulk mapping cap
This commit is contained in:
1 parent
36b2057991
commit
353a1fb741
4 files changed
+10
-4
No files matched your search
@@ -361,6 +361,13 @@ Assert(store.ListPoints().All(point => point.Id != sampledSourcePoint.Id) &&
|
||||
store.ListTrendRecords(sampledLog.Id, 10).Count == 2, "Removing a point must stop logging and preserve the history.");
|
||||
|
||||
await LtdFeatureTests.RunAsync(store, database, options, authenticatedAdmin!);
|
||||
|
||||
var bulkSources = Enumerable.Range(1, 501).Select(index => store.CreatePoint(new(
|
||||
$"Bulk source {index}", PointProtocol.Internal, PointScope.Internal, "Boolean", true, false, null, JsonElementFor("{}"))).Id).ToArray();
|
||||
var largeMapping = store.CreateBulkMappings(new(bulkSources, BulkMappingTarget.OpcUa));
|
||||
Assert(largeMapping is { Created: 501, Existing: 0 } && largeMapping.Assignments.Count == 501,
|
||||
"A single bulk mapping must accept a selection beyond the former 500-point limit.");
|
||||
|
||||
Console.WriteLine("Gateway smoke tests passed.");
|
||||
if (args.Contains("--preview", StringComparer.Ordinal)) Console.WriteLine($"Preview data: {dataDirectory}");
|
||||
|
||||
|
||||
Reference in new issue
Block a user