protected void Assert(NodeIngestStats nodeIngestStats) { nodeIngestStats.Should().NotBeNull(); nodeIngestStats.Total.Should().NotBeNull(); if (TestClient.Configuration.InRange("<6.5.0")) { return; } nodeIngestStats.Pipelines.Should().NotBeNull(); nodeIngestStats.Pipelines.Should().ContainKey(DefaultSeeder.PipelineName); var pipelineStats = nodeIngestStats.Pipelines[DefaultSeeder.PipelineName]; pipelineStats.Should().NotBeNull(); pipelineStats.Processors.Should().NotBeNull().And.HaveCount(1); var processorStats = pipelineStats.Processors.First(); processorStats.Type.Should().Be("set"); processorStats.Statistics.Should().NotBeNull(); }
protected void Assert(NodeIngestStats nodeIngestStats) { nodeIngestStats.Should().NotBeNull(); nodeIngestStats.Total.Should().NotBeNull(); nodeIngestStats.Pipelines.Should().NotBeNull(); }