chore: fix the module path to align with the code structure (#15053)

This commit is contained in:
cskh 2022-10-19 10:36:35 -04:00 committed by GitHub
parent e8fcbfe19e
commit 6a9739ad7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
module github.com/hashicorp/consul/integration/consul-container
module github.com/hashicorp/consul/test/integration/consul-container
go 1.18

View File

@ -10,8 +10,8 @@ import (
"time"
"github.com/hashicorp/consul/api"
"github.com/hashicorp/consul/integration/consul-container/libs/node"
"github.com/hashicorp/consul/sdk/testutil/retry"
"github.com/hashicorp/consul/test/integration/consul-container/libs/node"
"github.com/stretchr/testify/require"
)

View File

@ -14,7 +14,7 @@ import (
"github.com/testcontainers/testcontainers-go"
"github.com/testcontainers/testcontainers-go/wait"
"github.com/hashicorp/consul/integration/consul-container/libs/utils"
"github.com/hashicorp/consul/test/integration/consul-container/libs/utils"
)
const bootLogLine = "Consul agent running"

View File

@ -12,9 +12,9 @@ import (
"github.com/stretchr/testify/require"
libcluster "github.com/hashicorp/consul/integration/consul-container/libs/cluster"
"github.com/hashicorp/consul/integration/consul-container/libs/node"
"github.com/hashicorp/consul/integration/consul-container/libs/utils"
libcluster "github.com/hashicorp/consul/test/integration/consul-container/libs/cluster"
"github.com/hashicorp/consul/test/integration/consul-container/libs/node"
"github.com/hashicorp/consul/test/integration/consul-container/libs/utils"
)
// Given a 3-server cluster, when the leader is elected, then leader's isLeader is 1 and non-leader's 0

View File

@ -10,9 +10,9 @@ import (
"github.com/hashicorp/consul/api"
libcluster "github.com/hashicorp/consul/integration/consul-container/libs/cluster"
"github.com/hashicorp/consul/integration/consul-container/libs/node"
"github.com/hashicorp/consul/integration/consul-container/libs/utils"
libcluster "github.com/hashicorp/consul/test/integration/consul-container/libs/cluster"
"github.com/hashicorp/consul/test/integration/consul-container/libs/node"
"github.com/hashicorp/consul/test/integration/consul-container/libs/utils"
)
// Test health check GRPC call using Target Servers and Latest GA Clients