Skip to content

Commit 0615df4

Browse files
authored
Store start time just before installing pipelines (#1791)
1 parent ca6e594 commit 0615df4

File tree

1 file changed

+1
-1
lines changed
  • internal/testrunner/runners/pipeline

1 file changed

+1
-1
lines changed

internal/testrunner/runners/pipeline/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ func (r *runner) run(ctx context.Context) ([]testrunner.TestResult, error) {
137137
return nil, errors.New("data stream root not found")
138138
}
139139

140+
startTime := time.Now()
140141
var entryPipeline string
141142
entryPipeline, r.pipelines, err = ingest.InstallDataStreamPipelines(r.options.API, dataStreamPath)
142143
if err != nil {
@@ -176,7 +177,6 @@ func (r *runner) run(ctx context.Context) ([]testrunner.TestResult, error) {
176177
expectedDatasets = []string{expectedDataset}
177178
}
178179

179-
startTime := time.Now()
180180
results := make([]testrunner.TestResult, 0)
181181
for _, testCaseFile := range testCaseFiles {
182182
validatorOptions := []fields.ValidatorOption{

0 commit comments

Comments
 (0)