Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update comments assert struct fields
  • Loading branch information
mrodm committed Feb 25, 2025
commit ef9862b334fac84936cd7f7e8c4815d67c186541
6 changes: 3 additions & 3 deletions internal/testrunner/runners/system/test_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ type testConfig struct {
SkipTransformValidation bool `config:"skip_transform_validation"`

Assert struct {
// Expected number of hits for a given test
// HitCount expected number of hits for a given test
HitCount int `config:"hit_count"`

// Minimum number of hits for a given test
// MinCount minimum number of hits for a given test
MinCount int `config:"min_count"`

// FieldsPresent
// FieldsPresent list of fields that must be present in any of documents ingested
FieldsPresent []string `config:"fields_present"`

// IngestionIdleTime time elapsed since the last document was ingested
Expand Down