Skip to content

Commit

Permalink
Change to yaml.v3 in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-laterman authored and ycombinator committed Oct 15, 2024
1 parent 8a7225d commit 279aec4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion testing/integration/diagnostics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"

"github.com/elastic/elastic-agent/pkg/control/v2/client"
integrationtest "github.com/elastic/elastic-agent/pkg/testing"
Expand Down
2 changes: 1 addition & 1 deletion testing/integration/inspect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"

integrationtest "github.com/elastic/elastic-agent/pkg/testing"
"github.com/elastic/elastic-agent/pkg/testing/define"
Expand Down
2 changes: 1 addition & 1 deletion testing/integration/package_version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"

"github.com/elastic/elastic-agent/pkg/control/v2/client"
atesting "github.com/elastic/elastic-agent/pkg/testing"
Expand Down
2 changes: 1 addition & 1 deletion testing/integration/pkgversion_common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"sync"
"testing"

"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion testing/integration/proxy_url_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/gofrs/uuid/v5"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"

"github.com/elastic/elastic-agent-libs/testing/certutil"
integrationtest "github.com/elastic/elastic-agent/pkg/testing"
Expand Down

0 comments on commit 279aec4

Please sign in to comment.