Skip to content

Commit

Permalink
Store start time just before installing pipelines (#1791)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodm authored Apr 18, 2024
1 parent ca6e594 commit 0615df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/testrunner/runners/pipeline/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ func (r *runner) run(ctx context.Context) ([]testrunner.TestResult, error) {
return nil, errors.New("data stream root not found")
}

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

startTime := time.Now()
results := make([]testrunner.TestResult, 0)
for _, testCaseFile := range testCaseFiles {
validatorOptions := []fields.ValidatorOption{
Expand Down

0 comments on commit 0615df4

Please sign in to comment.