Skip to content

Commit

Permalink
ci: keyperf collector does not exist in Harvest version 22.11
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrinds committed Nov 1, 2024
1 parent e8232cc commit 94c0f99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration/test/installer/rpm.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (r *RPM) Upgrade() bool {
rpmFileName := "harvest.rpm"
utils.RemoveSafely(rpmFileName)
harvestObj := new(Harvest)
if !harvestObj.AllRunning() {
if !harvestObj.AllRunning("keyperf") {
utils.PanicIfNotNil(errors.New("pollers are not in a running state before upgrade"))
}
versionCmd := []string{"-qa", "harvest"}
Expand Down
3 changes: 2 additions & 1 deletion integration/test/rpm_installer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"github.com/Netapp/harvest-automation/test/installer"
"github.com/Netapp/harvest-automation/test/utils"
"log"
"log/slog"
"os"
"testing"
)
Expand Down Expand Up @@ -38,7 +39,7 @@ func TestRHELInstall(t *testing.T) {
}
harvestObj := new(installer.Harvest)
if harvestObj.AllRunning("keyperf") {
log.Println("All pollers are running")
slog.Info("All pollers but keyperf are running")
} else {
t.Errorf("One or more pollers are not running.")
}
Expand Down

0 comments on commit 94c0f99

Please sign in to comment.