Skip to content

Commit

Permalink
PMM-13057 Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriCtvrtka committed Oct 10, 2024
1 parent a23b179 commit 4c996e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions managed/services/telemetry/datasource_envvars_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"os"
"testing"

pmmv1 "github.com/percona/saas/gen/telemetry/events/pmm"
genericv1 "github.com/percona/saas/gen/telemetry/generic"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down Expand Up @@ -94,7 +94,7 @@ func TestEnvVarsDatasource(t *testing.T) {
metrics, err := dsEnvVars.FetchMetrics(ctx, *config)
require.NoError(t, err)

expected := []*pmmv1.ServerMetric_Metric{
expected := []*genericv1.GenericReport_Metric{
{Key: "test_env_var1", Value: "1"},
{Key: "test_env_var2", Value: "test"},
{Key: "test_env_var3", Value: "true"},
Expand Down Expand Up @@ -138,7 +138,7 @@ func TestEnvVarsDatasource(t *testing.T) {
metrics, err := dsEnvVars.FetchMetrics(ctx, *config)
require.NoError(t, err)

expected := []*pmmv1.ServerMetric_Metric{
expected := []*genericv1.GenericReport_Metric{
{Key: "test_env_var6", Value: "1"},
{Key: "test_env_var7", Value: "1"},
{Key: "test_env_var8", Value: "1"},
Expand Down

0 comments on commit 4c996e5

Please sign in to comment.