Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

fix: set image version before switching to the configuration file #565

Merged
Merged
Changes from all commits
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
8 changes: 4 additions & 4 deletions e2e/_suites/metricbeat/metricbeat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,14 +246,14 @@ func (mts *MetricbeatTestSuite) installedAndConfiguredForVariantModule(serviceVa
}

func (mts *MetricbeatTestSuite) installedUsingConfiguration(configuration string) error {
if strings.HasPrefix(metricbeatVersion, "pr-") {
metricbeatVersion = metricbeatVersionBase
}

// at this point we have everything to define the index name
mts.Version = metricbeatVersion
mts.setIndexName()

if strings.HasPrefix(metricbeatVersion, "pr-") {
metricbeatVersion = metricbeatVersionBase
}

// use master branch for snapshots
tag := "v" + metricbeatVersion
if strings.Contains(metricbeatVersion, "SNAPSHOT") {
Expand Down