protected override void CheckIfQueriesWork(Domain domain) { var nodes = new[] { WellKnown.DefaultNodeId, "Node1", "Node2", "Node3", "Node4", "Node5", }; foreach (var node in nodes) { var selectedNode = domain.StorageNodeManager.GetNode(node); using (var session = domain.OpenSession()) using (var transaction = session.OpenTransaction()) { var checker = new ModelChecker(); checker.Run(session); } } }
private void CheckIfQueriesWork(Domain domain) { var nodes = new[] { WellKnown.DefaultNodeId, "Node1", "Node2", "Node3", "Node4", "Node5", }; foreach (var node in nodes) { using (var session = domain.OpenSession()) { session.SelectStorageNode(node); using (var transaction = session.OpenTransaction()) { var populator = new ModelChecker(); populator.Run(session); } } } }