Skip to content

Commit

Permalink
Increase Gomega Eventually timeout to 30 seconds (#430)
Browse files Browse the repository at this point in the history
This commit increases the Gomago Eventuall timeout to 30 seconds in
all tests cases to avoid tests failures by timeout [1].

[1]: https://github.com/Wind-River/cloud-platform-deployment-manager/pull/429/checks?check_run_id=33619644827

Test Case:
PASS - make test

Signed-off-by: Wallysson Silva <[email protected]>
  • Loading branch information
wasnio authored Nov 27, 2024
1 parent d62d60d commit 675c541
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion api/v1/addresspool_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
var _ = Describe("Addresspool controller", func() {

const (
timeout = time.Second * 10
timeout = time.Second * 30
interval = time.Millisecond * 250
)

Expand Down
2 changes: 1 addition & 1 deletion api/v1/datanetwork_type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
var _ = Describe("Datanetwork controller", func() {

const (
timeout = time.Second * 10
timeout = time.Second * 30
interval = time.Millisecond * 250
)
ctx := context.Background()
Expand Down
2 changes: 1 addition & 1 deletion api/v1/host_type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
var _ = Describe("Datanetwork controller", func() {

const (
timeout = time.Second * 10
timeout = time.Second * 30
interval = time.Millisecond * 250
)

Expand Down
2 changes: 1 addition & 1 deletion api/v1/hostprofile_type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
var _ = Describe("HostProfile controller", func() {

const (
timeout = time.Second * 10
timeout = time.Second * 30
interval = time.Millisecond * 250
)
Context("Test IsKeyEqual func for AddressInfo", func() {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/platformnetwork_type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
var _ = Describe("Platformnetwork controller", func() {

const (
timeout = time.Second * 10
timeout = time.Second * 30
interval = time.Millisecond * 250
)

Expand Down
2 changes: 1 addition & 1 deletion api/v1/ptpinstance_type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
var _ = Describe("Datanetwork controller", func() {

const (
timeout = time.Second * 10
timeout = time.Second * 30
interval = time.Millisecond * 250
)

Expand Down
2 changes: 1 addition & 1 deletion api/v1/ptpinterface_type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
var _ = Describe("Datanetwork controller", func() {

const (
timeout = time.Second * 10
timeout = time.Second * 30
interval = time.Millisecond * 250
)

Expand Down
2 changes: 1 addition & 1 deletion api/v1/system_type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
var _ = Describe("Datanetwork controller", func() {

const (
timeout = time.Second * 10
timeout = time.Second * 30
interval = time.Millisecond * 250
)

Expand Down
2 changes: 1 addition & 1 deletion controllers/addresspool_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

var _ = Describe("AddressPool controller", func() {
const (
timeout = time.Second * 10
timeout = time.Second * 30
interval = time.Millisecond * 250
)

Expand Down
2 changes: 1 addition & 1 deletion controllers/datanetwork_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
var _ = Describe("Datanetwork controller", func() {

const (
timeout = time.Second * 20
timeout = time.Second * 30
interval = time.Millisecond * 250
)

Expand Down
2 changes: 1 addition & 1 deletion controllers/host/host_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
var _ = Describe("Host controller", func() {

const (
timeout = time.Second * 10
timeout = time.Second * 30
interval = time.Millisecond * 250
)

Expand Down
2 changes: 1 addition & 1 deletion controllers/host/platformnetworks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const PlatformNetworkFinalizerName = "platformnetwork.finalizers.windriver.com"

const TestNamespace = "default"
const (
timeout = time.Second * 10
timeout = time.Second * 30
interval = time.Millisecond * 250
)

Expand Down
2 changes: 1 addition & 1 deletion controllers/platformnetwork_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

var _ = Describe("Platformnetwork controller", func() {
const (
timeout = time.Second * 20
timeout = time.Second * 30
interval = time.Millisecond * 250
)

Expand Down
2 changes: 1 addition & 1 deletion controllers/ptpinstance_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
var _ = Describe("PtpInstance controller", func() {

const (
timeout = time.Second * 20
timeout = time.Second * 30
interval = time.Millisecond * 250
)

Expand Down
2 changes: 1 addition & 1 deletion controllers/ptpinterface_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
var _ = Describe("PtpInterface controller", func() {

const (
timeout = time.Second * 20
timeout = time.Second * 30
interval = time.Millisecond * 250
)

Expand Down

0 comments on commit 675c541

Please sign in to comment.